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

const router = Express.Router();

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

export default router;