From 1d5053feb4a5f9b2ea477676f437aef5c7fb7c5d Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 19 Oct 2024 08:09:59 -0700 Subject: subscriptions --- index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'index.ts') 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); -- cgit v1.2.3