From 7232d3fefc0bd05d2d588b7d844b4c5fa7e3b5aa 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 8f0f40f6db..4190e1457e 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