aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-10-19 08:09:59 -0700
committerAdam Soltys <[email protected]>2024-10-19 08:09:59 -0700
commit1d5053feb4a5f9b2ea477676f437aef5c7fb7c5d (patch)
tree5bc8cb35f6e4104bc17cb499275ca88e32d815a0 /index.ts
parentdd52d07a513c4c98197b36eb48e213a0b2164d32 (diff)
downloadcoinos-server-1d5053feb4a5f9b2ea477676f437aef5c7fb7c5d.tar.gz
coinos-server-1d5053feb4a5f9b2ea477676f437aef5c7fb7c5d.zip
subscriptions
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.ts b/index.ts
index bec345ad..21c29250 100644
--- a/index.ts
+++ b/index.ts
@@ -102,7 +102,8 @@ app.post("/request", auth, users.request);
app.post("/forgot", users.forgot);
app.post("/login", users.login);
-app.post("/subscribe", auth, users.subscribe);
+app.post("/subscription", auth, users.subscription);
+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);