From 35337c54d7dd69a3b85faf1f66d70f133a496788 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Tue, 14 Sep 2021 22:18:03 +0100 Subject: [PATCH] message --- 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 948cb29b4..d94a42d94 100644 --- a/lgsm/functions/alert_gotify.sh +++ b/lgsm/functions/alert_gotify.sh @@ -18,7 +18,7 @@ EOF fn_print_dots "Sending Gotify alert" -gotifysend=$(curl --connect-timeout 10 -sSL "${gotifywebhook}"?token="${gotifytoken}" -H "Content-Type: application/json" -X POST -d "$(echo -n "${json}" | jq -c .)") +gotifysend=$(curl --connect-timeout 10 -sSL "${gotifywebhook}/message"?token="${gotifytoken}" -H "Content-Type: application/json" -X POST -d "$(echo -n "${json}" | jq -c .)") if [ -n "${gotifysend}" ]; then fn_print_ok_nl "Sending Gotify alert"