blob: cb9d177aca837ae321f5322e96974e7b46cfa110 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
import { auth, post } from '$lib/utils';
export async function POST({ request }) {
let body = await request.json();
await post('/lightning/send', body, auth(request));
return new Response(JSON.stringify('ok'), { headers: { 'content-type': 'application/json' } });
}
|