Skip to content

Commit 3b6e84c

Browse files
lazywinadminHowardWolosky
authored andcommitted
Fix typo that prevent tag(s) to be assigned to new issue
1 parent 8cea80d commit 3b6e84c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GitHubIssues.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ function New-GitHubIssue
509509
if ($PSBoundParameters.ContainsKey('Body')) { $hashBody['body'] = $Body }
510510
if ($PSBoundParameters.ContainsKey('Assignee')) { $hashBody['assignees'] = @($Assignee) }
511511
if ($PSBoundParameters.ContainsKey('Milestone')) { $hashBody['milestone'] = $Milestone }
512-
if ($PSBoundParameters.ContainsKey('Label')) { $hashBody['label'] = @($Label) }
512+
if ($PSBoundParameters.ContainsKey('Label')) { $hashBody['labels'] = @($Label) }
513513

514514
$params = @{
515515
'UriFragment' = "/repos/$OwnerName/$RepositoryName/issues"

0 commit comments

Comments
 (0)