aboutsummaryrefslogtreecommitdiffstats
path: root/routes/invoices.js
diff options
context:
space:
mode:
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);
- }
+ },
};