aboutsummaryrefslogtreecommitdiffstats
path: root/Aggrofile
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2023-09-27 18:16:27 +0300
committerJan Tuomi <jans.tuomi@gmail.com>2023-09-27 18:16:27 +0300
commitda9b89d089482354bce0fc95b66f30fd078405b1 (patch)
treeed7438ca68e996fcdc222b07e7a4a6c66876de66 /Aggrofile
parent47955f34dfbc7c3ae2dfa1f7c94b44e435743a94 (diff)
Use headers instead of auth syntax in EmailAlerter
Diffstat (limited to 'Aggrofile')
-rw-r--r--Aggrofile5
1 files changed, 4 insertions, 1 deletions
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}"