Browse Source

message

pull/3509/head
Daniel Gibbs 4 years ago
parent
commit
35337c54d7
  1. 2
      lgsm/functions/alert_gotify.sh

2
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"

Loading…
Cancel
Save