mirror of https://github.com/franjsco/tick3t-api
add route: PrivateTicket
This commit is contained in:
parent
c8f2eb26ee
commit
7de6a4eb08
|
@ -0,0 +1,10 @@
|
|||
import express from 'express';
|
||||
import { getAll, updateById, deleteById } from '../controllers/ticket';
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
router.get('/', getAll);
|
||||
router.put('/:ticketId', updateById);
|
||||
router.delete('/:ticketId', deleteById);
|
||||
|
||||
export default router;
|
Loading…
Reference in New Issue