1
0
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:
Francesco Esposito 2019-08-06 18:48:21 +02:00
parent c8f2eb26ee
commit 7de6a4eb08

View 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;