diff options
| author | secondl1ght <[email protected]> | 2022-07-27 00:00:43 -0600 |
|---|---|---|
| committer | secondl1ght <[email protected]> | 2022-07-27 00:00:43 -0600 |
| commit | 80cf7e9b77dcc4cbcf7711eb63a218c3aec07ec6 (patch) | |
| tree | b42820a265d5c2ce47f1ed80cef44220df7a81a5 /src/routes/invoice.js | |
| parent | 6ceaf176de896862cb398f71ca17f081a798d1cd (diff) | |
| download | coinos-ui-80cf7e9b77dcc4cbcf7711eb63a218c3aec07ec6.tar.gz coinos-ui-80cf7e9b77dcc4cbcf7711eb63a218c3aec07ec6.zip | |
hook up receive page and more adjustments
Diffstat (limited to 'src/routes/invoice.js')
| -rw-r--r-- | src/routes/invoice.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/routes/invoice.js b/src/routes/invoice.js index 49bcfe70..147da2b7 100644 --- a/src/routes/invoice.js +++ b/src/routes/invoice.js @@ -1,4 +1,5 @@ import got from 'got'; +import { invoiceAmount } from '$lib/store'; const username = 'bob', network = 'lightning'; @@ -6,7 +7,7 @@ const username = 'bob', export async function GET({ params }) { let text = await got .post('http://localhost:3119/lightning/invoice', { - json: { amount: 100 } + json: { amount: invoiceAmount } }) .text(); |
