Skip to content

fix issue 4519 #189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix issue 4519
  • Loading branch information
nursoltan-s committed Jun 12, 2020
commit ccb4a93235205a472609fb03207659b88c2610e2
4 changes: 2 additions & 2 deletions src/actions/members.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ async function getSubtrackChallengesInit(handle, uuid) {
*/
async function getSubtrackChallengesDone(
uuid, handle, tokenV3, track, subTrack, pageNum, pageSize,
refresh,
refresh, userId,
) {
const filter = {
status: 'Completed',
Expand All @@ -260,7 +260,7 @@ async function getSubtrackChallengesDone(
params.offset = pageNum * pageSize;

const service = getChallengesService(tokenV3);
return service.getUserChallenges(handle, filter, params)
return service.getUserChallenges(userId, filter, params)
.then(res => ({
uuid,
challenges: res.challenges,
Expand Down