We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2096f20 commit d33902cCopy full SHA for d33902c
server/src/modules/notifications.ts
@@ -94,7 +94,8 @@ export class Notifications {
94
}
95
notifications.forEach(notification => {
96
if (notification.enabled &&
97
- notification.events.includes(message.name) &&
+ notification.events &&
98
+ notification.events?.includes(message.name) &&
99
(notification.pipelines.length == 0 || notification.pipelines.includes('all') || notification.pipelines.includes(message.pipelineName))
100
) {
101
this.sendCustomNotification(notification.type,
0 commit comments