blob: b4a8174029a976b72b9e21452559fb9e705389d0 (
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('/password', await request.json(), auth(cookies));
return json(result);
}
|