From 1ae65a5a143d218e21828e297fd7d0ba9ab372bf Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 1 Feb 2023 11:07:37 -0800 Subject: classic invoices --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'index.js') diff --git a/index.js b/index.js index 2c59b8e6..ed4e0827 100644 --- a/index.js +++ b/index.js @@ -42,8 +42,9 @@ app.post("/event", nostr.broadcast); app.get("/locations", locations.list); -app.get("/invoice", invoices.get); +app.get("/invoice/:hash", invoices.get); app.post("/invoice", optional, invoices.create); +app.get("/invoice/classic/:username", invoices.classic); app.post("/payments", auth, payments.create); app.get("/payments", auth, payments.list); -- cgit v1.2.3