Skip to content

Commit 49d4678

Browse files
committed
fix: lowercase comparison
1 parent 0c144a0 commit 49d4678

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/challenge-helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ class ChallengeHelper {
216216
const members = await helper.getMembersByHandles(allowedRegistrants);
217217
const incorrectHandles = _.difference(
218218
allowedRegistrants,
219-
_.map(members, (m) => _.lowerCase(m.handle))
219+
_.map(members, (m) => _.toLower(m.handle))
220220
);
221221
if (incorrectHandles.length > 0) {
222222
throw new errors.BadRequestError(

0 commit comments

Comments
 (0)