aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-02-20 23:18:25 -0800
committerAdam Soltys <[email protected]>2024-02-20 23:19:31 -0800
commit99860c48bc27f17d8c593dcfbaab494092e5b19c (patch)
treef83b3ae3e20515e062ed5d5d3bb114d63d2664fe /index.js
parent04d0ffe157b0b412a673a8de2be4ca8f1fe4eff3 (diff)
downloadcoinos-server-99860c48bc27f17d8c593dcfbaab494092e5b19c.tar.gz
coinos-server-99860c48bc27f17d8c593dcfbaab494092e5b19c.zip
sort item endpoint
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 8a5baff3..ab1d1a5e 100644
--- a/index.js
+++ b/index.js
@@ -104,6 +104,7 @@ app.get("/:id/items", items.list);
app.get("/items/:id", items.get);
app.post("/items", auth, items.create);
app.post("/items/delete", auth, items.del);
+app.post("/items/sort", auth, items.sort);
app.get("/request/:id", auth, requests.get);
app.get("/requests", auth, requests.list);