From 90fd4576083afedf636dab5ce84ae7f30e0a4f76 Mon Sep 17 00:00:00 2001 From: Marius Andra Date: Sat, 26 Oct 2024 00:49:46 +0200 Subject: [PATCH] fix template --- posthog/cdp/templates/mailjet/template_mailjet.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/posthog/cdp/templates/mailjet/template_mailjet.py b/posthog/cdp/templates/mailjet/template_mailjet.py index 23cf5e07da0f4..e0fa8863d0a0e 100644 --- a/posthog/cdp/templates/mailjet/template_mailjet.py +++ b/posthog/cdp/templates/mailjet/template_mailjet.py @@ -170,17 +170,17 @@ 'Messages': [ { 'From': { - 'Email': inputs.email.from, + 'Email': email.from, 'Name': '' }, 'To': [ { - 'Email': inputs.email.to, + 'Email': email.to, 'Name': '' } ], - 'Subject': inputs.email.subject, - 'HTMLPart': inputs.email.html + 'Subject': email.subject, + 'HTMLPart': email.html } ] }