aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-03-16 23:00:39 -0700
committerAdam Soltys <[email protected]>2023-03-16 23:00:55 -0700
commit013dffcbd0bdc901dc977af7c09daffe639614ee (patch)
tree4d4200e1655b536760e29dca54b7df3d6f06f087 /index.js
parentd3a35dad2f335a6291f5d656e101956a51bdaa6b (diff)
downloadcoinos-server-013dffcbd0bdc901dc977af7c09daffe639614ee.tar.gz
coinos-server-013dffcbd0bdc901dc977af7c09daffe639614ee.zip
admin route
Diffstat (limited to 'index.js')
-rw-r--r--index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.js b/index.js
index 04e9187f..af27f27c 100644
--- a/index.js
+++ b/index.js
@@ -65,6 +65,7 @@ app.post("/bitcoin", payments.bitcoin);
app.post("/bitcoin/fee", auth, payments.fee);
app.post("/bitcoin/send", auth, payments.send);
+app.get("/users", auth, users.list);
app.get("/lower", users.lower);
app.get("/me", auth, users.me);
app.get("/users/:key", users.get);