From 721accba0b9eab3029f06f4167943aee95659439 Mon Sep 17 00:00:00 2001 From: David Inga Date: Tue, 29 Nov 2022 16:25:16 +0100 Subject: [PATCH] from name updated in sengrid --- marketing-v2/src/pages/api/methodology.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/marketing-v2/src/pages/api/methodology.ts b/marketing-v2/src/pages/api/methodology.ts index 8f0f40f6d..4190e1457 100644 --- a/marketing-v2/src/pages/api/methodology.ts +++ b/marketing-v2/src/pages/api/methodology.ts @@ -17,8 +17,10 @@ const Methodology = (req: NextApiRequest, res: NextApiResponse): void => { const msg = { to: email, - from: 'hello@landgriffon.com', - fromname: 'LandGriffon', + from: { + email: 'hello@landgriffon.com', + name: 'LandGriffon', + }, subject: `Landgriffon's Methodology`, text: `Hi ${name}\n\n Thank you for your interest in LandGriffon's Methodology!\n\n