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.
2 parents 2096f20 + d33902c commit 95a311bCopy full SHA for 95a311b
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