aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index 67164b6d..f61d3f20 100644
--- a/index.js
+++ b/index.js
@@ -45,7 +45,7 @@ app.post("/event", nostr.broadcast);
app.get("/locations", locations.list);
-app.get("/invoice/:hash", invoices.get);
+app.get("/invoice/:id", invoices.get);
app.post("/invoice", optional, invoices.create);
app.get("/invoice/classic/:username", invoices.classic);