Skip to content

Commit 8978058

Browse files
committed
code 30090056
code 30090056
1 parent f8f8bd8 commit 8978058

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/actions/challenge-listing.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,9 @@ function getActiveChallengesDone(
191191
user = decodeToken(tokenV3).handle;
192192
// Handle any errors on this endpoint so that the non-user specific challenges
193193
// will still be loaded.
194-
calls.push(service.getUserChallenges(user, filter, {
195-
limit: PAGE_SIZE,
196-
offset: page * PAGE_SIZE,
197-
}).catch(() => ({ challenges: [] })));
194+
calls.push(getAll(
195+
params => service.getUserChallenges(user, filter, params).catch(() => ({ challenges: [] })),
196+
));
198197
}
199198
return Promise.all(calls).then(([ch, uch]) => {
200199
/* uch array contains challenges where the user is participating in

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy