aboutsummaryrefslogtreecommitdiffstats
path: root/routes/invoices.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-12-19 14:37:18 -0800
committerAdam Soltys <[email protected]>2023-12-20 14:39:08 -0800
commitb67ca07bac3a0cb78f9b3c19a783c3253f06c29f (patch)
tree1664d33bd1c514d016a7a1983af257197d4e5ac7 /routes/invoices.js
parent337ca8c555f188d64c9f065972d443377adf042f (diff)
downloadcoinos-server-b67ca07bac3a0cb78f9b3c19a783c3253f06c29f.tar.gz
coinos-server-b67ca07bac3a0cb78f9b3c19a783c3253f06c29f.zip
biome
Diffstat (limited to 'routes/invoices.js')
-rw-r--r--routes/invoices.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/routes/invoices.js b/routes/invoices.js
index 329f163d..898938dd 100644
--- a/routes/invoices.js
+++ b/routes/invoices.js
@@ -19,7 +19,7 @@ export default {
"banner",
"currency",
"username",
- "pubkey"
+ "pubkey",
]);
} else if (config.classic) {
invoice = await got(`${config.classic}/invoice/${id}`).json();
@@ -49,11 +49,11 @@ export default {
.post(`${config.classic}/invoice`, {
json: {
invoice: { amount: 0, network: "lightning" },
- user: { username }
- }
+ user: { username },
+ },
})
.json();
res.send(invoice);
- }
+ },
};