Skip to content

Commit 620e971

Browse files
committed
fix for issue #4384
1 parent fd7ace5 commit 620e971

File tree

1 file changed

+2
-1
lines changed
  • src/shared/actions/challenge-listing

1 file changed

+2
-1
lines changed

src/shared/actions/challenge-listing/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ function getAllActiveChallengesWithUsersDone(uuid, tokenV3, filter, page = 0) {
9797
user = decodeToken(tokenV3).userId;
9898
// Handle any errors on this endpoint so that the non-user specific challenges
9999
// will still be loaded.
100-
calls.push(getAll(service.getUserChallenges(user).catch(() => ({ challenges: [] }))), page);
100+
calls.push(getAll(params => service.getUserChallenges(user, filter, params)
101+
.catch(() => ({ challenges: [] }))), page);
101102
}
102103
return Promise.all(calls).then(([ch, uch]) => {
103104
/* uch array contains challenges where the user is participating in

0 commit comments

Comments
 (0)