Skip to content

Commit 2997f63

Browse files
re-adjust the window
1 parent 549de31 commit 2997f63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/ResourceService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ async function listChallengesByMember (memberId, criteria) {
453453
}
454454
}
455455

456-
if (perPage * page < config.MAX_ELASTIC_SEARCH_RECORDS_SIZE) {
456+
if (perPage * page <= config.MAX_ELASTIC_SEARCH_RECORDS_SIZE) {
457457
docs = await searchES(mustQuery, perPage, page)
458458
}
459459

0 commit comments

Comments
 (0)