Skip to content

Commit 2ed3f94

Browse files
committed
chore: remove write host
address M-012
1 parent da7bd8c commit 2ed3f94

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Modules/CIPPHTTP/Public/Entrypoints/HTTP Functions/CIPP/Setup/Invoke-ExecTokenExchange.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ function Invoke-ExecTokenExchange {
6868
$FormData['client_secret'] = $ClientSecret
6969
}
7070

71-
Write-Host "Posting this data: $($FormData | ConvertTo-Json -Depth 15)"
7271
$Results = Invoke-RestMethod -Uri $TokenUrl -Method Post -Body $FormData -ContentType 'application/x-www-form-urlencoded' -ErrorAction Stop -SkipHttpErrorCheck
7372
} catch {
7473
$ErrorMessage = $_.Exception

0 commit comments

Comments
 (0)