From 11ae9b188dfda0cb0f3569b80af6e909103bea23 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 20 Sep 2020 11:25:05 +0100 Subject: [PATCH] fixes --- lgsm/functions/alert_sendgrid.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/alert_sendgrid.sh b/lgsm/functions/alert_sendgrid.sh index 992feed3e..7587be126 100644 --- a/lgsm/functions/alert_sendgrid.sh +++ b/lgsm/functions/alert_sendgrid.sh @@ -12,7 +12,7 @@ sendgridsend=$(curl --request POST \ --url https://api.sendgrid.com/v3/mail/send \ --header "Authorization: Bearer ${sendgridtoken}" \ --header 'Content-Type: application/json' \ - --data '{"personalizations": [{"to": [{"email": "${sendgrodemail}"}]}],"from": {"email": "${sendgridfrom}"},"subject": "${alertemoji} ${alertsubject} ${alertemoji}","content": [{"type": "text/plain", "value": "$(cat "${alertlog}")"}]}') + --data '{"personalizations": [{"to": [{"email": ${sendgridemail}"}]}],"from": {"email": "${sendgridemailfrom}"},"subject": "${alertemoji} ${alertsubject} ${alertemoji}","content": [{"type": "text/plain", "value": "$(cat "${alertlog}")"}]}') if [ -z "${mailgunsend}" ]; then fn_print_fail_nl "Sending Email alert: Mailgun: ${email}"