From 7355b0430f7aa999dd2970f1002d0934c2a28d2d Mon Sep 17 00:00:00 2001 From: Peng Jiahui <804873052@qq.com> Date: Mon, 5 Feb 2024 15:04:06 +0800 Subject: [PATCH] replaced application/json --- eng/common/scripts/Invoke-GitHubAPI.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/common/scripts/Invoke-GitHubAPI.ps1 b/eng/common/scripts/Invoke-GitHubAPI.ps1 index f59741d03c37c..afd54e41d2562 100644 --- a/eng/common/scripts/Invoke-GitHubAPI.ps1 +++ b/eng/common/scripts/Invoke-GitHubAPI.ps1 @@ -403,7 +403,7 @@ function Update-GitHubIssue { -Uri $uri ` -Headers (Get-GitHubApiHeaders -token $AuthToken) ` -MaximumRetryCount 3 - -ContentType "application/x-www-form-urlencoded" + -ContentType "application/json" } function Remove-GitHubSourceReferences {