From c6ea78df4e67f7dcd5f92b6d4528563d3807d6cc Mon Sep 17 00:00:00 2001 From: Sobe O Date: Wed, 20 Dec 2023 09:35:54 -0500 Subject: [PATCH] Remove excluded folders --- sobenfolio-frontend/src/app/api/send/route.js | 24 ------------------- 1 file changed, 24 deletions(-) delete mode 100644 sobenfolio-frontend/src/app/api/send/route.js diff --git a/sobenfolio-frontend/src/app/api/send/route.js b/sobenfolio-frontend/src/app/api/send/route.js deleted file mode 100644 index 0e4cee7..0000000 --- a/sobenfolio-frontend/src/app/api/send/route.js +++ /dev/null @@ -1,24 +0,0 @@ -// import { EmailTemplate } from '../../../components/EmailTemplate'; -import { Resend } from 'resend'; - -const resend = new Resend(process.env.RESEND_API_KEY); - -export async function POST() { - try { - const data = await resend.emails.send({ - from: 'Sobenna ', - to: ['sobennastories@gmail.com'], - subject: 'Hello world', - react: - <> -

- Email Bod -

- , - }); - - return Response.json(data); - } catch (error) { - return Response.json({ error }); - } -} \ No newline at end of file