Fixed display of challenges by date

This commit is contained in:
2026-04-16 16:46:35 +01:00
parent d048d78cb2
commit a12d2433d7
@@ -39,6 +39,6 @@ public class GetAllUserChallengesEndpoint(UsersRepository usersRepository, UserS
user.UserGroups.Select(x => mapper.Map<GetUserChallengeDto>(x.Group))
);
await Send.OkAsync(challenges, ct);
await Send.OkAsync(challenges.OrderByDescending(x => x.ChallengeStartDate).ToList(), ct);
}
}