aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
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);