remove team id from monitor controller/db methods, standardize parameters

This commit is contained in:
Alex Holliday committed 2025-06-13 11:49:03 +08:00
1 parent 4168c86734
commit b9fbfd2a25
6 files changed
+138 -173

No files matched your search

+1 -4
View File
@@ -17,10 +17,7 @@ class NotificationRoutes {
this.router.post("/", this.notificationController.createNotification);
this.router.get(
"/team/:teamId",
this.notificationController.getNotificationsByTeamId
);
this.router.get("/team", this.notificationController.getNotificationsByTeamId);
this.router.delete("/:id", this.notificationController.deleteNotification);