aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/withdraw.js
diff options
context:
space:
mode:
authorsecondl1ght <[email protected]>2022-08-06 00:04:55 -0600
committersecondl1ght <[email protected]>2022-08-06 00:04:55 -0600
commit93f9d0abf58c5b5154e35b63524405554042bef1 (patch)
treef41273fc1e2f99066a2ad3d7d22b2e3578583f13 /src/routes/withdraw.js
parentdcd4fe70f6f23a5ac2df3b773fea89c1acd878b6 (diff)
downloadcoinos-ui-93f9d0abf58c5b5154e35b63524405554042bef1.tar.gz
coinos-ui-93f9d0abf58c5b5154e35b63524405554042bef1.zip
finish withdraw UI, add more validation on support, bug fixes on tx hist
Diffstat (limited to 'src/routes/withdraw.js')
-rw-r--r--src/routes/withdraw.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/routes/withdraw.js b/src/routes/withdraw.js
index aaed2250..818d39da 100644
--- a/src/routes/withdraw.js
+++ b/src/routes/withdraw.js
@@ -1,8 +1,7 @@
import { post } from '$lib/utils';
export async function POST({ locals, request }) {
let { token } = locals;
- let body = await request.json();
- console.log(body)
+ let body = await request.json();
body = await post('/lightning/send', body, {
authorization: `Bearer ${token}`
});