Skip to content

Commit

Permalink
Sync eng/common directory with azure-sdk-tools for PR 7630 (#22349)
Browse files Browse the repository at this point in the history
* Add ContentType header to Update-GitHubIssue

* replaced application/json

* Update eng/common/scripts/Invoke-GitHubAPI.ps1

Co-authored-by: Daniel Jurek <[email protected]>

---------

Co-authored-by: Peng Jiahui <[email protected]>
Co-authored-by: Wes Haggard <[email protected]>
Co-authored-by: Daniel Jurek <[email protected]>
  • Loading branch information
4 people authored Feb 6, 2024
1 parent c05f902 commit 0970bdc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eng/common/scripts/Invoke-GitHubAPI.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,8 @@ function Update-GitHubIssue {
-Body ($parameters | ConvertTo-Json) `
-Uri $uri `
-Headers (Get-GitHubApiHeaders -token $AuthToken) `
-MaximumRetryCount 3
-MaximumRetryCount 3 `
-ContentType "application/json"
}

function Remove-GitHubSourceReferences {
Expand Down

0 comments on commit 0970bdc

Please sign in to comment.