diff options
| author | Adam Soltys <[email protected]> | 2023-01-24 14:46:46 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-01-24 14:46:46 -0800 |
| commit | adf35d736de2cd870e363abc28a0989158ea0b5b (patch) | |
| tree | 3f5b6f1cea7a1db0aafe9b707f8fff8bff1f1c36 /lib | |
| parent | dcec2c0656d4fcb4e7713a46e39b1fccae915f2f (diff) | |
| download | coinos-server-adf35d736de2cd870e363abc28a0989158ea0b5b.tar.gz coinos-server-adf35d736de2cd870e363abc28a0989158ea0b5b.zip | |
move lnurl routes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/invoices.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/invoices.js b/lib/invoices.js index 7a45b1c0..f17223aa 100644 --- a/lib/invoices.js +++ b/lib/invoices.js @@ -9,7 +9,7 @@ import { v4 } from "uuid"; import bc from "$lib/bitcoin"; import ln from "$lib/ln"; -export let invoice = async ({ invoice, user, sender }) => { +export let generate = async ({ invoice, user, sender }) => { let { currency, tip, amount, rate, request_id, type } = invoice; if (amount < 0) fail("amount out of range"); |
