added notes to the frontend

This commit is contained in:
QkoSad
2022-12-11 11:28:40 +02:00
parent 475f924381
commit 88f04e2734
11 changed files with 538 additions and 16 deletions
+2
View File
@@ -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