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