We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cea80d commit 3b6e84cCopy full SHA for 3b6e84c
GitHubIssues.ps1
@@ -509,7 +509,7 @@ function New-GitHubIssue
509
if ($PSBoundParameters.ContainsKey('Body')) { $hashBody['body'] = $Body }
510
if ($PSBoundParameters.ContainsKey('Assignee')) { $hashBody['assignees'] = @($Assignee) }
511
if ($PSBoundParameters.ContainsKey('Milestone')) { $hashBody['milestone'] = $Milestone }
512
- if ($PSBoundParameters.ContainsKey('Label')) { $hashBody['label'] = @($Label) }
+ if ($PSBoundParameters.ContainsKey('Label')) { $hashBody['labels'] = @($Label) }
513
514
$params = @{
515
'UriFragment' = "/repos/$OwnerName/$RepositoryName/issues"
0 commit comments