add pager duty handling method

This commit is contained in:
Alex Holliday committed 2025-06-09 10:49:52 +08:00
1 parent 5a50e9b301
commit 92ddf023ec
5 files changed
+51 -14

No files matched your search

+2 -1
View File
@@ -18,10 +18,11 @@ const PLATFORMS = {
};
class NotificationController {
constructor(notificationService, stringService, statusService) {
constructor({ notificationService, stringService, statusService, db }) {
this.notificationService = notificationService;
this.stringService = stringService;
this.statusService = statusService;
this.db = db;
this.triggerNotification = this.triggerNotification.bind(this);
this.testWebhook = this.testWebhook.bind(this);
}