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:
parent
c8f2eb26ee
commit
7de6a4eb08
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;
|
Loading…
x
Reference in New Issue
Block a user