From 5e21128689f909309064025ace4526a330f0e58d Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Wed, 27 Sep 2023 18:30:05 +0300 Subject: Specialize EmailAlerter to use SendGrid API --- Aggrofile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'Aggrofile') diff --git a/Aggrofile b/Aggrofile index afd6bb7..e463b31 100644 --- a/Aggrofile +++ b/Aggrofile @@ -4,15 +4,12 @@ "host": "0.0.0.0", "port": 8080 }, - "email_alerter": { - "api_url": "${AGGRO_EMAIL_ALERT_API_URL}", - "api_headers": { - "Authorization": "${AGGRO_EMAIL_ALERT_API_AUTH}", - "Content-Type": "application/json" - }, - "email_from": "${AGGRO_EMAIL_ALERT_FROM}", + "sendgrid_alerter": { + "api_url": "${AGGRO_SENDGRID_API_URL}", + "api_token": "${AGGRO_SENDGRID_API_TOKEN}", + "email_from": "${AGGRO_SENDGRID_FROM}", "email_to": [ - "${AGGRO_EMAIL_ALERT_TO}" + "${AGGRO_SENDGRID_TO}" ] }, "plugins": { -- cgit v1.3