From 6704f2553bb87769bd7b603e13f466c6b247f52f Mon Sep 17 00:00:00 2001 From: masterchief-Dave Date: Wed, 24 Jul 2024 21:21:20 +0100 Subject: [PATCH] feat: create documentation for user routes --- src/routes/sms.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/routes/sms.ts b/src/routes/sms.ts index 19ea3b2e..de9e1594 100644 --- a/src/routes/sms.ts +++ b/src/routes/sms.ts @@ -1,7 +1,9 @@ import { Router } from "express"; +import { sendSms } from "../controllers/SmsController"; +import { authMiddleware } from "../middleware"; const smsRouter = Router(); -// smsRouter.post("/send", authMiddleware, sendSms); +smsRouter.post("/send", authMiddleware, sendSms); export { smsRouter };