blob: f20d70f34a1552b5c4b83aab56057d59e41649b3 (
plain) (
blame)
1
2
3
4
5
6
7
|
import { auth, post } from "$lib/utils";
import { json } from "@sveltejs/kit";
export const POST = async ({ cookies, request }) => {
const body = await request.json();
return json(await post("/invoice", body, auth(cookies)));
};
|