blob: ed6e74edafa172004a998a8ae7842bc7a197f1c1 (
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' } });
}
|