aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-01-20 11:40:10 -0800
committerAdam Soltys <[email protected]>2023-01-20 11:40:10 -0800
commit5dd47b9b2cb5a9359c57079205da68a675e10b45 (patch)
tree48f5065cbd9781342c4ed52300b1d68c2eb7f0e7 /index.js
parent5264f702a2217fe8815cb5275aca14a672f6d4bb (diff)
downloadcoinos-server-5dd47b9b2cb5a9359c57079205da68a675e10b45.tar.gz
coinos-server-5dd47b9b2cb5a9359c57079205da68a675e10b45.zip
endpoint renaming
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 7f97a20d..31739f8a 100644
--- a/index.js
+++ b/index.js
@@ -47,7 +47,7 @@ app.post("/invoice", optional, invoices.create);
app.post("/payments", auth, payments.create);
app.get("/payments", auth, payments.list);
app.get("/payments/:hash", auth, payments.get);
-app.post("/query", auth, payments.query);
+app.post("/parse", payments.parse);
app.get("/pot/:name", payments.pot);
app.post("/take", auth, payments.take);
app.post("/bitcoin", payments.bitcoin);