diff --git a/lgsm/functions/alert_gotify.sh b/lgsm/functions/alert_gotify.sh index 7fe8f1eed..a9bc8f992 100755 --- a/lgsm/functions/alert_gotify.sh +++ b/lgsm/functions/alert_gotify.sh @@ -42,7 +42,7 @@ EOF fn_print_dots "Sending Gotify alert" -gotifysend=$(curl --connect-timeout 10 -sSL -H "{"X-Gotify-Key": "${gotifytoken}" -X POST -d "$(echo -n "$json" | jq -c .)" "${gotifywebhook}") +gotifysend=$(curl --connect-timeout 10 -sSL -H "{"X-Gotify-Key": "${gotifytoken}"}" -X POST -d "$(echo -n "$json" | jq -c .)" "${gotifywebhook}") if [ -n "${gotifysend}" ]; then fn_print_ok_nl "Sending Gotify alert"