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 /routes/invoices.js | |
| parent | dcec2c0656d4fcb4e7713a46e39b1fccae915f2f (diff) | |
| download | coinos-server-adf35d736de2cd870e363abc28a0989158ea0b5b.tar.gz coinos-server-adf35d736de2cd870e363abc28a0989158ea0b5b.zip | |
move lnurl routes
Diffstat (limited to 'routes/invoices.js')
| -rw-r--r-- | routes/invoices.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routes/invoices.js b/routes/invoices.js index a4155d94..d1ec5338 100644 --- a/routes/invoices.js +++ b/routes/invoices.js @@ -1,5 +1,5 @@ import { g, s } from "$lib/db"; -import { invoice } from "$lib/invoices"; +import { generate } from "$lib/invoices"; export default { async get({ query: { hash } }, res) { @@ -9,6 +9,6 @@ export default { }, async create({ body: { invoice, user }, user: sender }, res) { - res.send(await invoice({ invoice, user, sender })); + res.send(await generate({ invoice, user, sender })); } }; |
