From 4c6e52cabb54127c7b09695e2113abf7647759f4 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Wed, 28 Aug 2024 12:03:13 +0200 Subject: [PATCH] backup(system/config/backup): body need to be null when use PS5 --- PowerFGT/Public/monitor/system/config/backup.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerFGT/Public/monitor/system/config/backup.ps1 b/PowerFGT/Public/monitor/system/config/backup.ps1 index 2fc942982..2ae22cd17 100644 --- a/PowerFGT/Public/monitor/system/config/backup.ps1 +++ b/PowerFGT/Public/monitor/system/config/backup.ps1 @@ -54,7 +54,7 @@ function Get-FGTMonitorSystemConfigBackup { if ($connection.version -lt "7.6.0") { $method = "get" $uri = 'api/v2/monitor/system/config/backup?scope=global' - $body = @{ } + $body = "" } else { $method = "post"