aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/invoice/+server.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-09-26 23:13:47 -0700
committerAdam Soltys <[email protected]>2022-09-26 23:13:47 -0700
commit577f74832a1122c16bb2c747eab5acc07dbc7410 (patch)
tree74cd149c0a4a108a13a956cd66ed8e7c12f857f8 /src/routes/invoice/+server.js
parentadf27ffe9f7ab061b72c6cc54ca49213aa5d27fe (diff)
downloadcoinos-ui-577f74832a1122c16bb2c747eab5acc07dbc7410.tar.gz
coinos-ui-577f74832a1122c16bb2c747eab5acc07dbc7410.zip
hide toast on payment received
Diffstat (limited to 'src/routes/invoice/+server.js')
-rw-r--r--src/routes/invoice/+server.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/routes/invoice/+server.js b/src/routes/invoice/+server.js
index 4538256c..d9a9739c 100644
--- a/src/routes/invoice/+server.js
+++ b/src/routes/invoice/+server.js
@@ -18,8 +18,6 @@ export async function POST({ request, parent }) {
invoice.address = (await get('/address?network=bitcoin&type=bech32')).address;
}
- console.log('INVOICE', invoice);
-
return new Response(
JSON.stringify(await post('/invoice', { invoice, user: { username } }, auth(request))),
{ headers: { 'content-type': 'application/json' } }