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,