Sync eng/common directory with azure-sdk-tools for PR 7630 (#5325)
* Add ContentType header to Update-GitHubIssue * replaced application/json * Update eng/common/scripts/Invoke-GitHubAPI.ps1 Co-authored-by: Daniel Jurek <djurek@microsoft.com> --------- Co-authored-by: Peng Jiahui <804873052@qq.com> Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com> Co-authored-by: Daniel Jurek <djurek@microsoft.com>
This commit is contained in:
parent
dcc15a63a0
commit
1497f919a8
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user