aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/routes/invoice/[amount].js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/routes/invoice/[amount].js b/src/routes/invoice/[amount].js
index f9b31211..ea904e03 100644
--- a/src/routes/invoice/[amount].js
+++ b/src/routes/invoice/[amount].js
@@ -4,10 +4,8 @@ const username = 'bob',
network = 'lightning';
export async function GET({ params }) {
- let { amount } = params;
- console.log('AMT', amount);
+ let { amount } = params;
let { text } = await post('/lightning/invoice', { amount });
- console.log('TXT', text);
await post('/invoice', { invoice: { text, network }, user: { username } });
return { body: { amount, text } };