summaryrefslogtreecommitdiff
path: root/server/routes/message.js
blob: 0ebb7db65215374513ac28585a56e93396f44d31 (plain)
1
2
3
4
5
6
7
8
9
10
import Express from 'express';
import message from '../controllers/message';

const router = Express.Router();

router.post('/otp', message.sendOTP);
router.post('/message', message.sendMessage);
router.post('/messages', message.sendMessages);

export default router;