From 917b751a65a97e1fd413c29c95638493ca67627f Mon Sep 17 00:00:00 2001 From: Yorick Kuijs Date: Tue, 26 Mar 2024 11:08:02 +0100 Subject: [PATCH] More debug --- source/Public/Set-ADOEnvironment.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/Public/Set-ADOEnvironment.ps1 b/source/Public/Set-ADOEnvironment.ps1 index 6576d0f..497d383 100644 --- a/source/Public/Set-ADOEnvironment.ps1 +++ b/source/Public/Set-ADOEnvironment.ps1 @@ -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