mirror of https://github.com/franjsco/tick3t-api
feat(database): add tickets (admin) routes
This commit is contained in:
parent
085e8c1fbd
commit
62470c3d6c
|
@ -0,0 +1,10 @@
|
|||
const express = require('express');
|
||||
|
||||
const router = express.Router();
|
||||
const ticketController = require('../controllers/ticketAdmin');
|
||||
|
||||
router.get('/', ticketController.getAll);
|
||||
router.put('/:ticketId', ticketController.updateById);
|
||||
router.delete('/:ticketId', ticketController.deleteById);
|
||||
|
||||
module.exports = router;
|
Loading…
Reference in New Issue