Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit c71861d

Browse files
committed
Add migration of _.any from lodash 4.0
1 parent 35c9dec commit c71861d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ module.exports = function (options) {
9898
var mentorTypeFound = _.find(usersDojos, function (userDojo) {
9999
return _.includes(userDojo.userTypes, 'mentor');
100100
});
101-
var verifyFound = _.any(usersDojos, 'backgroundChecked');
101+
var verifyFound = _.some(usersDojos, 'backgroundChecked');
102102
if (championTypeFound) user.isChampion = true;
103103
if (youthOver13TypeFound) user.isYouthOver13 = true;
104104
if (mentorTypeFound) user.isMentor = true;

0 commit comments

Comments
 (0)