From 9174828d65b80e90e8adc46222b0bb8f9bd79bf4 Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Wed, 13 Mar 2024 17:06:37 +0000 Subject: [PATCH] fixed some curl refs --- backup.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backup.ps1 b/backup.ps1 index 49926c1..9e6f02b 100644 --- a/backup.ps1 +++ b/backup.ps1 @@ -3,9 +3,9 @@ $dir = Split-Path $script:MyInvocation.MyCommand.Path . "$dir/env.ps1" if ( $KUMA_ID -ne "" ){ - $RUNNING_URL = "https://$KUMA_URL/api/push/$KUMA_ID?status=up&msg=Running&ping=" - $FAILURE_URL = "https://$KUMA_URL/api/push/$KUMA_ID?status=down&msg=Failed&ping=" - $SUCCESS_URL = "https://$KUMA_URL/api/push/$KUMA_ID?status=up&msg=Completed&ping=" + $RUNNING_URL = "https://$KUMA_URL/api/push/$($KUMA_ID)?status=up&msg=Running&ping=" + $FAILURE_URL = "https://$KUMA_URL/api/push/$($KUMA_ID)?status=down&msg=Failed&ping=" + $SUCCESS_URL = "https://$KUMA_URL/api/push/$($KUMA_ID)?status=up&msg=Completed&ping=" } elseif ( $HEALTHCHECK_UUID -ne "" ) { $RUNNING_URL = "https://hc-ping.com/$HEALTHCHECK_UUID/start" $FAILURE_URL = "https://hc-ping.com/$HEALTHCHECK_UUID/fail"