add pager duty handling method
This commit is contained in:
1 parent
5a50e9b301
commit
92ddf023ec
5 files changed
+51
-14
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user