aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-10-08 00:16:50 -0700
committerAdam Soltys <[email protected]>2023-10-08 00:16:50 -0700
commitdb38e8f3316a121ba64d7e1c4cfd93b4826d6f4e (patch)
tree172eaaed2c04d0c0e6491a68f7b8631a6298bf4b /index.js
parentf599e57af5564c23908632c42d4827e51d120204 (diff)
downloadcoinos-server-db38e8f3316a121ba64d7e1c4cfd93b4826d6f4e.tar.gz
coinos-server-db38e8f3316a121ba64d7e1c4cfd93b4826d6f4e.zip
use invoice id instead of hash
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);