From b88b4022bb16320c882c6a71dd8ffc48e6aad942 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20MICHEL?= Date: Wed, 4 Sep 2024 12:41:33 +0200 Subject: [PATCH] correcting pests --- EasyPIM/internal/functions/Invoke-ARM.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EasyPIM/internal/functions/Invoke-ARM.ps1 b/EasyPIM/internal/functions/Invoke-ARM.ps1 index ae27863..4f5a47d 100644 --- a/EasyPIM/internal/functions/Invoke-ARM.ps1 +++ b/EasyPIM/internal/functions/Invoke-ARM.ps1 @@ -73,11 +73,11 @@ function Invoke-ARM { } #> if ($body -ne ""){ - $response=Invoke-AZRestMethod -Method $method -Uri $restURI -payload $body + $response=Invoke-AZRestMethod -Method $method -Uri $restURI -payload $body } else { $response=Invoke-AZRestMethod -Method $method -Uri $restURI - } + } return $response.content | convertfrom-json