From 4d1c0595749aa8235d5dc5838d0dd23079987a17 Mon Sep 17 00:00:00 2001 From: Ian Krieger <48930920+IanKrieger@users.noreply.github.com> Date: Thu, 1 Feb 2024 09:13:29 -0500 Subject: [PATCH] fix: need to specify brave ads (#1045) --- src/auth/lib/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/auth/lib/index.ts b/src/auth/lib/index.ts index 41ca1c7d..f64772fb 100644 --- a/src/auth/lib/index.ts +++ b/src/auth/lib/index.ts @@ -155,7 +155,11 @@ export const sendMarketingEmail = async (req: { method: "POST", mode: "cors", headers: { "Content-Type": "application/json" }, - body: JSON.stringify(req), + body: JSON.stringify({ + email: req.email, + name: req.name, + newsletters: [{ name: "Brave Ads" }], + }), }, );