From 05c582f6d0577596bbf079187b14d1fa28d35f75 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 29 Nov 2024 23:32:30 -0800 Subject: contacts limit --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.ts') 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); -- cgit v1.2.3