blob: af5fcc66f227f3a2e70b2312b838a3fdc7dc24f3 (
plain) (
blame)
1
2
3
4
5
6
7
|
import { json } from '@sveltejs/kit';
import { auth, post } from '$lib/utils';
export async function POST({ cookies, request }) {
let result = await post('/email', await request.json(), auth(cookies));
return json(result);
}
|