diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/invoices.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/invoices.js b/lib/invoices.js index f64cf409..5d68d09d 100644 --- a/lib/invoices.js +++ b/lib/invoices.js @@ -10,7 +10,7 @@ import bc from "$lib/bitcoin"; import ln from "$lib/ln"; export let generate = async ({ invoice, user, sender, memo }) => { - let { currency, tip, amount, rate, request_id, type } = invoice; + let { currency, tip, amount, rate, request_id, prompt, type } = invoice; amount = parseInt(amount || 0); tip = parseInt(tip || 0); @@ -60,6 +60,7 @@ export let generate = async ({ invoice, user, sender, memo }) => { rate, received: 0, request_id, + prompt, text, tip, type, |
