aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-02-26 17:17:49 -0800
committerAdam Soltys <[email protected]>2025-02-26 17:17:49 -0800
commit88175fc2e5cfc313372366018b2f5256382d6e52 (patch)
tree7f73c6476b1e5d35411d6da8840ea56aac9b8594 /index.ts
parente556afe44157134cd00972dd9043312694ffad5a (diff)
downloadcoinos-server-88175fc2e5cfc313372366018b2f5256382d6e52.tar.gz
coinos-server-88175fc2e5cfc313372366018b2f5256382d6e52.zip
pinned contacts
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.ts b/index.ts
index c392e187..b82ae4dc 100644
--- a/index.ts
+++ b/index.ts
@@ -134,6 +134,9 @@ app.get("/apps", auth, users.apps);
app.post("/app", auth, users.updateApp);
app.post("/apps/delete", auth, users.deleteApp);
+app.post("/pins", auth, users.addPin);
+app.post("/pins/delete", auth, users.deletePin);
+
app.get("/subscriptions", auth, users.subscriptions);
app.post("/subscription", auth, users.subscription);
app.post("/subscription/delete", auth, users.deleteSubscription);