Skip to content

Commit

Permalink
More debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ykuijs committed Mar 26, 2024
1 parent c1a827e commit 917b751
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/Public/Set-ADOEnvironment.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,10 @@ function Set-ADOEnvironment
{
Write-Log -Object ' Updating check configuration'
$requestBody = ConvertTo-Json -InputObject $obj -Depth 10
Write-Log -Object " DEBUG: $requestBody"

$configUrl = '{0}/_apis/pipelines/checks/configurations/{2}?{1}' -f $devOpsProjectUrl, $apiVersionString, $checkId
Write-Log -Object " DEBUG: $configUrl"
if ($PSCmdlet.ShouldProcess('Configurations', 'Configure approvals'))
{
$null = Invoke-APRestApi -Uri $configUrl -Method 'PATCH' -Headers $headers -Body $requestBody
Expand Down

0 comments on commit 917b751

Please sign in to comment.