Update ApiClient.ps1

This commit is contained in:
condorcorde
2024-04-04 19:22:27 +02:00
parent b5868cedc7
commit 3af8d66f84
@@ -94,7 +94,7 @@ function Invoke-ApiClient {
$UriBuilder = [System.UriBuilder]($RequestUri)
$UriBuilder.Query = $HttpValues.ToString()
if ($Body -or $IsBodyNullable) {
if ($Body -or $IsBodyNullable) {
$RequestBody = $Body
if ([string]::IsNullOrEmpty($RequestBody) -and $IsBodyNullable -eq $true) {
$RequestBody = "null"