From a109fff6590a53abf371523534ae3a1e3b885106 Mon Sep 17 00:00:00 2001 From: Lukas Siemon Date: Wed, 12 Jun 2024 10:46:15 -0700 Subject: [PATCH] fix: no longer doing email link tracking --- src/logic/logger/message/email.js | 5 +++-- .../__cassettes/processLogs/email.spec.json_recording.json | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/logic/logger/message/email.js b/src/logic/logger/message/email.js index 06bfccce..6f8283f5 100644 --- a/src/logic/logger/message/email.js +++ b/src/logic/logger/message/email.js @@ -21,8 +21,9 @@ export default ({ logEvent }) => { subject, content: [{ type: 'text/plain', value: body }], tracking_settings: { - enabled: false, - enable_text: false + click_tracking: { + enable: false + } } } }); diff --git a/test/lambda/__cassettes/processLogs/email.spec.json_recording.json b/test/lambda/__cassettes/processLogs/email.spec.json_recording.json index 6c3dbfcb..d1096d94 100644 --- a/test/lambda/__cassettes/processLogs/email.spec.json_recording.json +++ b/test/lambda/__cassettes/processLogs/email.spec.json_recording.json @@ -24,8 +24,9 @@ } ], "tracking_settings": { - "enabled": false, - "enable_text": false + "click_tracking": { + "enable": false + } } }, "status": 202,