From 21001e2f868dcd357a57d6d180e58740bf9e2b47 Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Tue, 22 Aug 2023 21:52:38 -0600 Subject: [PATCH] Fix --- src/components/templates/Welcome.tsx | 20 +++++++------------- src/pages/api/webhooks/index.ts | 1 + 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/src/components/templates/Welcome.tsx b/src/components/templates/Welcome.tsx index 1c46510..6d4cf2f 100644 --- a/src/components/templates/Welcome.tsx +++ b/src/components/templates/Welcome.tsx @@ -8,7 +8,6 @@ import { Img, Preview, Section, - // Tailwind, Text, } from "@react-email/components"; import * as React from "react"; @@ -25,33 +24,28 @@ export const Welcome = ({ name }: WelcomeTemplateProps) => ( 🎉 Welcome to Sprint Padawan! 🎉 - {/* */} - - -
+ + +
{`Sprint
- + 🎉 Welcome to Sprint Padawan, {name}! 🎉 - - Hello {name}, - + Hello {name}, Thank you for signing up for Sprint Padawan! If at any point you encounter issues, please let me know at support@sprintpadawan.dev. -
- — The Sprint Padawan team +
+ — Atridad Lahiji
- {/* */} ); diff --git a/src/pages/api/webhooks/index.ts b/src/pages/api/webhooks/index.ts index 3b52c9d..6200bc1 100644 --- a/src/pages/api/webhooks/index.ts +++ b/src/pages/api/webhooks/index.ts @@ -17,6 +17,7 @@ export const config = { export default async function handler(req: NextRequest) { try { const eventBody = (await req.json()) as WebhookEventBody; + console.log(eventBody); const { data, type } = WebhookEventBodySchema.parse(eventBody); let success = false;