feat: switch to sweego
Some checks failed
Deploy / lint-build-deploy (push) Failing after 1m19s

This commit is contained in:
2026-01-30 18:12:29 +01:00
parent 20b09849bc
commit 35020f2499
10 changed files with 105 additions and 662 deletions

View File

@@ -14,8 +14,8 @@ export const dynamic = 'force-dynamic'; // defaults to force-static
export async function POST(request: NextRequest) {
try {
if (!process.env.RESEND_KEY) {
throw new Error('Resend variables not set');
if (!process.env.SWEEGO_API_KEY) {
throw new Error('SWEEGO_API_KEY is not set');
}
const body = await request.json();
const validation = ConfirmationSchema.safeParse(body);