1
0
mirror of https://github.com/franjsco/tick3t-api synced 2025-01-02 10:07:09 +01:00

feat(database): add tickets (admin) routes

This commit is contained in:
frab1t 2019-07-04 08:56:40 +02:00
parent 085e8c1fbd
commit 62470c3d6c

10
src/routes/ticketAdmin.js Normal file
View File

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