add notification routes

This commit is contained in:
Alex Holliday
2025-06-09 10:25:06 +08:00
parent 55a871cb3c
commit 0f10a39f91
+9
View File
@@ -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() {