mirror of
https://github.com/franjsco/tick3t-api
synced 2025-06-05 22:09:20 +02:00
add route: PrivateTicket
This commit is contained in:
10
src/routes/PrivateTickets.js
Normal file
10
src/routes/PrivateTickets.js
Normal file
@ -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;
|
Reference in New Issue
Block a user