From 4827f8faecbb1ac96c1de7032a7c1b73be62cdf4 Mon Sep 17 00:00:00 2001 From: ashu130698 Date: Thu, 5 Mar 2026 13:06:36 +0530 Subject: [PATCH] refractor: simplify bulk edit route to PATCH /notifications --- server/src/routes/notificationRoute.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/routes/notificationRoute.ts b/server/src/routes/notificationRoute.ts index 7a4b73df9..9961000d3 100755 --- a/server/src/routes/notificationRoute.ts +++ b/server/src/routes/notificationRoute.ts @@ -17,7 +17,7 @@ class NotificationRoutes { this.router.get("/team", this.notificationController.getNotificationsByTeamId); - this.router.patch("/bulk/monitors", this.notificationController.bulkEditMonitorNotifications); + this.router.patch("/", this.notificationController.bulkEditMonitorNotifications); this.router.get("/:id", this.notificationController.getNotificationById); this.router.delete("/:id", this.notificationController.deleteNotification);