added notes to the frontend
This commit is contained in:
@@ -10,6 +10,8 @@ const {
|
||||
|
||||
const protect = require("../middleware/authMiddleware");
|
||||
|
||||
const noteRouter = require('./noteRoutes')
|
||||
router.use('/:ticketId/notes',noteRouter)
|
||||
|
||||
router.route("/").get(protect, getTickets).post(protect, createTicket);
|
||||
router
|
||||
|
||||
Reference in New Issue
Block a user