aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/ecash/mint/+server.ts
blob: e933208e1a91f04b8ea7e64f7aac57c7ea35f9dd (plain) (blame)
1
2
3
4
5
6
7
import { auth, post } from "$lib/utils";
import { json } from "@sveltejs/kit";

export async function POST({ cookies, request }) {
  const result = await post("/mint", await request.json(), auth(cookies));
  return json(result);
}