From da9b89d089482354bce0fc95b66f30fd078405b1 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Wed, 27 Sep 2023 18:16:27 +0300 Subject: Use headers instead of auth syntax in EmailAlerter --- Aggrofile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Aggrofile') diff --git a/Aggrofile b/Aggrofile index 6f6864c..afd6bb7 100644 --- a/Aggrofile +++ b/Aggrofile @@ -6,7 +6,10 @@ }, "email_alerter": { "api_url": "${AGGRO_EMAIL_ALERT_API_URL}", - "api_auth": "${AGGRO_EMAIL_ALERT_API_AUTH}", + "api_headers": { + "Authorization": "${AGGRO_EMAIL_ALERT_API_AUTH}", + "Content-Type": "application/json" + }, "email_from": "${AGGRO_EMAIL_ALERT_FROM}", "email_to": [ "${AGGRO_EMAIL_ALERT_TO}" -- cgit v1.3