summaryrefslogtreecommitdiff
path: root/server/routes/message.js
blob: e9aab7048e6e0e8639d7f4e6e0efcd4fde49ef35 (plain)
1
2
3
4
5
6
7
8
9
10
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);

export default router;