diff --git a/github/github-api.psm1 b/github/github-api.psm1 index 496d211..3103ed0 100644 --- a/github/github-api.psm1 +++ b/github/github-api.psm1 @@ -103,7 +103,7 @@ class GitHubApi return $this.InvokeRestMethod($url, 'GET', $null, $null) } - [void] CreateWorkflowDispatch([string]$WorkflowFileName, [string]$Ref, [string]$Inputs) { + [void] CreateWorkflowDispatch([string]$WorkflowFileName, [string]$Ref, [object]$Inputs) { $url = "actions/workflows/${WorkflowFileName}/dispatches" $body = @{ ref = $Ref }