mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 09:35:39 -05:00
Fixed missing paren in c40b8b1e
.
This commit is contained in:
parent
21ce4eb8e1
commit
6e8ff798a1
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ PatchHandler = class PatchHandler extends Handler
|
|||
@sendPatchCreatedHipChatMessage creator: req.user, patch: doc, target: doc.targetLoaded, docLink: docLink
|
||||
watchers = doc.targetLoaded.get('watchers') or []
|
||||
# Don't send these emails to the person who submitted the patch, or to Nick, George, or Scott.
|
||||
watchers = (w for w in watchers when not w.equals(req.user.get('_id')) and not (w + '' in ['512ef4805a67a8c507000001', '5162fab9c92b4c751e000274', '51538fdb812dd9af02000001'])
|
||||
watchers = (w for w in watchers when not w.equals(req.user.get('_id')) and not (w + '' in ['512ef4805a67a8c507000001', '5162fab9c92b4c751e000274', '51538fdb812dd9af02000001']))
|
||||
return unless watchers?.length
|
||||
User.find({_id: {$in: watchers}}).select({email: 1, name: 1}).exec (err, watchers) =>
|
||||
for watcher in watchers
|
||||
|
|
Loading…
Reference in a new issue