blob: 6917ae21a7af051054b12a3061b92d8a8092979a (
plain) (
blame)
1
2
3
4
5
6
7
8
|
import { auth, post } from "$lib/utils";
export async function POST({ cookies, request }) {
let body = await request.json();
let res = await post("/2fa", body, auth(cookies));
return new Response(JSON.stringify(res));
}
|