Skip to content

Commit 73671a8

Browse files
author
Sachin Maheshwari
committed
fixing typo
1 parent 75ff36e commit 73671a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/broadcastAPIHelper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ async function checkUserGroup(userId, bulkMessage, userGroupInfo) {
192192
})
193193
_.map(userGroupInfo, (o) => {
194194
// not allow if user is part of any private group i.e. excludeGroups
195-
if (_.indexOf(excludeGroups, _.get(o, "name"))) {
195+
if (_.indexOf(excludeGroups, _.get(o, "name")) >= 0) {
196196
flag = false
197197
}
198198
})

0 commit comments

Comments
 (0)