summaryrefslogtreecommitdiff
path: root/server/routes/message.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/routes/message.js')
-rw-r--r--server/routes/message.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/routes/message.js b/server/routes/message.js
index 0ebb7db..e9aab70 100644
--- a/server/routes/message.js
+++ b/server/routes/message.js
@@ -1,10 +1,10 @@
-import Express from 'express';
-import message from '../controllers/message';
+import Express from "express";
+import message from "../controllers/message.js";
const router = Express.Router();
-router.post('/otp', message.sendOTP);
-router.post('/message', message.sendMessage);
-router.post('/messages', message.sendMessages);
+router.post("/otp", message.sendOTP);
+router.post("/message", message.sendMessage);
+router.post("/messages", message.sendMessages);
export default router;