diff options
| author | Adam Soltys <[email protected]> | 2024-02-20 23:18:25 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-02-20 23:19:31 -0800 |
| commit | 99860c48bc27f17d8c593dcfbaab494092e5b19c (patch) | |
| tree | f83b3ae3e20515e062ed5d5d3bb114d63d2664fe /index.js | |
| parent | 04d0ffe157b0b412a673a8de2be4ca8f1fe4eff3 (diff) | |
| download | coinos-server-99860c48bc27f17d8c593dcfbaab494092e5b19c.tar.gz coinos-server-99860c48bc27f17d8c593dcfbaab494092e5b19c.zip | |
sort item endpoint
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |
