aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-11-29 23:32:30 -0800
committerAdam Soltys <[email protected]>2024-11-29 23:32:30 -0800
commit05c582f6d0577596bbf079187b14d1fa28d35f75 (patch)
tree71d78951df7d3e5fa15b176798e301afac31d112 /index.ts
parenta291e249349475f5c4d8c27d111af6d498eefd8f (diff)
downloadcoinos-server-05c582f6d0577596bbf079187b14d1fa28d35f75.tar.gz
coinos-server-05c582f6d0577596bbf079187b14d1fa28d35f75.zip
contacts limit
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.ts b/index.ts
index f84560f2..abdbeef1 100644
--- a/index.ts
+++ b/index.ts
@@ -113,7 +113,7 @@ app.post("/subscription/delete", auth, users.deleteSubscription);
app.post("/password", auth, users.password);
app.post("/pin", auth, users.pin);
app.post("/otpsecret", auth, users.otpsecret);
-app.get("/contacts", auth, users.contacts);
+app.get("/contacts/:limit?", auth, users.contacts);
app.get("/:id/items", items.list);
app.get("/items/:id", items.get);