diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2023-09-27 18:30:05 +0300 |
|---|---|---|
| committer | Jan Tuomi <jans.tuomi@gmail.com> | 2023-09-27 18:31:57 +0300 |
| commit | 5e21128689f909309064025ace4526a330f0e58d (patch) | |
| tree | ba49f30021ce3e8b1b387fe0aa2141f3dace609d /Aggrofile | |
| parent | da9b89d089482354bce0fc95b66f30fd078405b1 (diff) | |
Specialize EmailAlerter to use SendGrid API
Diffstat (limited to 'Aggrofile')
| -rw-r--r-- | Aggrofile | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -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": { |
