Skip to content

Commit f8fb4be

Browse files
azure-sdkAlancereweshaggarddanieljurek
authored
Sync eng/common directory with azure-sdk-tools for PR 7630 (#41796)
* 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]>
1 parent b07b8f3 commit f8fb4be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eng/common/scripts/Invoke-GitHubAPI.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,8 @@ function Update-GitHubIssue {
402402
-Body ($parameters | ConvertTo-Json) `
403403
-Uri $uri `
404404
-Headers (Get-GitHubApiHeaders -token $AuthToken) `
405-
-MaximumRetryCount 3
405+
-MaximumRetryCount 3 `
406+
-ContentType "application/json"
406407
}
407408

408409
function Remove-GitHubSourceReferences {

0 commit comments

Comments
 (0)