Skip to content

Commit 51edb92

Browse files
committed
Bug Fix: Crasher when trying to use the "Notify Me" button inside running jobs. Fixes #156.
1 parent cfc1130 commit 51edb92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/api/jobs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ class Jobs {
522522

523523
if (!notify_me) {
524524
// add notification
525-
job.actions.push({ condition: 'complete', type: 'email', email: user.email, enabled: true, hidden: true });
525+
job.actions.push({ condition: 'complete', type: 'email', email: user.email, users: [], enabled: true, hidden: true });
526526
notify_me = true;
527527
}
528528
else {

0 commit comments

Comments
 (0)