aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/handler.js
Path not found
='/coinos-ui.git/plain/src/routes/(app)/password/+server.js?id=f24c07c7c92d423bf2c5ff333ba2aaa75e32f601'>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);
}