c - coinos-ui.git - coinos ui — legacy coinos.io web app (SvelteKit)
216a6002 ^
7b9bc9be ^
1792eb0c ^
243abb0a ^
c011ed5a ^
770725fb ^
1
2
3
4 5
6
7 8 9
10
import { auth, post } from "$lib/utils"; export async function POST({ cookies, request }) { const body = await request.json(); await post("/payments", body, auth(cookies)); return new Response(JSON.stringify("ok"), { headers: { "content-type": "application/json" }, }); }