diff --git a/resources/NotificationSender.psm1 b/resources/NotificationSender.psm1 index 984c479..337347f 100644 --- a/resources/NotificationSender.psm1 +++ b/resources/NotificationSender.psm1 @@ -34,7 +34,7 @@ function Send-Payload { } if ($Method -eq 'Post' -and $Payload) { - $postParams.Body = $Payload | ConvertTo-Json -Depth 10 + $postParams.Body = $Payload | ConvertTo-Json -Depth 100 -Compress $postParams.ContentType = 'application/json' }