blob: aaed2250b26ac80932d921b3556e36d0a92f4c3b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
import { post } from '$lib/utils';
export async function POST({ locals, request }) {
let { token } = locals;
let body = await request.json();
console.log(body)
body = await post('/lightning/send', body, {
authorization: `Bearer ${token}`
});
return { body };
}
|