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
commitf4c85698d32ab1346dcdb75b4244d615a2178e40 (patch)
treebee7bd1ec13c5bdc756d5d741ac4660ad539e476 /src/routes/withdraw.js
parentf0f318279775c3b306284c21b775bd5f1929ab54 (diff)
downloadcoinos-ui-f4c85698d32ab1346dcdb75b4244d615a2178e40.tar.gz
coinos-ui-f4c85698d32ab1346dcdb75b4244d615a2178e40.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}`
});