File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
eng/common/scripts/Helpers Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -180,14 +180,15 @@ function Set-ApiViewCommentForPR {
180180 $commentText += " APIView identified API level changes in this PR and created the following API reviews"
181181 $commentText += " "
182182
183+ $responseContent = $response.Content | ConvertFrom-Json
183184 if ($RepoName.StartsWith ((" azure-sdk-for-" ))) {
184- $response | ForEach-Object {
185+ $responseContent | ForEach-Object {
185186 $commentText += " [$ ( $_.packageName ) ]($ ( $_.url ) )"
186187 }
187188 } else {
188189 $commentText += " | Language | API Review for Package |"
189190 $commentText += " |----------|---------|"
190- $response | ForEach-Object {
191+ $responseContent | ForEach-Object {
191192 $commentText += " | $ ( $_.language ) | [$ ( $_.packageName ) ]($ ( $_.url ) ) |"
192193 }
193194 }
You can’t perform that action at this time.
0 commit comments