diff --git a/server/routes/notificationRoute.js b/server/routes/notificationRoute.js index 2c0bbf5b7..fe6b1c2dd 100755 --- a/server/routes/notificationRoute.js +++ b/server/routes/notificationRoute.js @@ -14,6 +14,15 @@ class NotificationRoutes { this.router.post("/trigger", this.notificationController.triggerNotification); this.router.post("/test-webhook", this.notificationController.testWebhook); + + this.router.post("/", this.notificationController.createNotification); + + this.router.get( + "/team/:teamId", + this.notificationController.getNotificationsByTeamId + ); + + this.router.delete("/:id", this.notificationController.deleteNotification); } getRouter() {