|
|
@@ -19,7 +19,7 @@ EOF
|
|
|
|
|
|
fn_print_dots "Sending IFTTT alert"
|
|
|
sleep 0.5
|
|
|
-iftttsend=$(curl -sSL -H "Content-Type: application/json" -X POST -d """${json}""" "https://maker.ifttt.com/trigger/linuxgsm_alert/with/key/${ifttttoken}"|grep "Bad Request")
|
|
|
+iftttsend=$(curl -sSL -H "Content-Type: application/json" -X POST -d """${json}""" "https://maker.ifttt.com/trigger/${iftttevent}/with/key/${ifttttoken}"|grep "Bad Request")
|
|
|
|
|
|
if [ -n "${iftttsend}" ]; then
|
|
|
fn_print_fail_nl "Sending IFTTT alert: ${pushbulletsend}"
|