From 56212eddafe2fe7a72ddece1d14870f9d53f19a0 Mon Sep 17 00:00:00 2001 From: jamie Date: Wed, 7 Jul 2021 14:32:17 +0100 Subject: [PATCH] fixed bad quoting in alert_gotify.sh --- lgsm/functions/alert_gotify.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/alert_gotify.sh b/lgsm/functions/alert_gotify.sh index a9bc8f992..ace6fcc5b 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"