add notification routes
This commit is contained in:
1 parent
55a871cb3c
commit
0f10a39f91
1 file changed
+9
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user