Skip to content

Commit 4a48b6d

Browse files
author
Parth Shah
committed
fixing bug
1 parent a87d47d commit 4a48b6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/projects/actions/projectTopics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const getProjectTopicsWithMember = (dispatch, projectId, tag) => {
8787
userIds = _.union(userIds, _.map(topic.posts, 'userId'))
8888
})
8989
// this is to remove any nulls from the list (dev had some bad data)
90-
_.remove(userIds, i => !i || [DISCOURSE_BOT_USERID, CODER_BOT_USERID].indexOf(i) > -1)
90+
_.remove(userIds, i => !i && [DISCOURSE_BOT_USERID, CODER_BOT_USERID].indexOf(i) > -1)
9191
// return if there are no userIds to retrieve, empty result set
9292
if (!userIds.length)
9393
resolve(value)

0 commit comments

Comments
 (0)