Skip to content

Commit

Permalink
Merge pull request #227 from lipkau/fix/#226-AddLabelsToArray
Browse files Browse the repository at this point in the history
Fixed an overlook in how the array of labels is constructed
  • Loading branch information
lipkau authored Apr 5, 2018
2 parents 5a76ffd + 50879f3 commit 426b60f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JiraPS/Public/New-JiraIssue.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function New-JiraIssue {
if ($Labels) {
$requestBody["labels"] = [System.Collections.ArrayList]@()
foreach ($item in $Labels) {
$null = $requestBody["labels"].Add($_item)
$null = $requestBody["labels"].Add($item)
}
}

Expand Down

0 comments on commit 426b60f

Please sign in to comment.