Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 917dd57

Browse files
committed
Fixed code error.
1 parent 8e710e1 commit 917dd57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actions/challenges.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ function validateInputParameter(helper, caller, challengeType, query, filter, pa
179179
helper.checkPositiveInteger(pageSize, "pageSize") ||
180180
helper.checkMaxNumber(pageSize, MAX_INT, 'pageSize') ||
181181
helper.checkMaxNumber(pageIndex, MAX_INT, 'pageIndex') ||
182-
helper.checkContains(helper.ALLOWABLE_LIST_TYPE, type.toUpperCase(), "type") ||
182+
helper.checkContains(helper.ListType, type.toUpperCase(), "type") ||
183183
checkQueryParameterAndSortColumn(helper, type, query, sortColumn);
184184

185185
if (_.isDefined(query.communityId)) {

0 commit comments

Comments
 (0)