Skip to content

Commit a7dd00e

Browse files
author
MineMe0812
committed
fix notification syntax
1 parent eb156ed commit a7dd00e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/controllers/Notification.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ export default class NotiController {
127127
} else {
128128
throw Boom.teapot('No need to notify for the premature jobs');
129129
}
130-
) {
131-
targetUsers = [await this.user.fetchById(job.childUserId)];
132130
} else {
133131
throw Boom.badImplementation('Can\'t recognize job status');
134132
}

0 commit comments

Comments
 (0)