Skip to content

Commit bfc370a

Browse files
committed
bug fixes
1 parent 3ef277e commit bfc370a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/services/challenges.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,9 @@ class ChallengesService {
545545
* @return {Promise} Resolves to the api response.
546546
*/
547547
async getRecommendedChallenges(sort, filter) {
548-
return this.private.getChallenges('/challenges/', { frontFilter: filter })
548+
return this.private.getChallenges('/challenges/', {
549+
frontFilter: { ...filter, types: ['TSK', 'CH', 'F2F'] },
550+
})
549551
.then((res) => {
550552
res.challenges.forEach(item => normalizeChallenge(item));
551553
let sortedChallenges = [];

0 commit comments

Comments
 (0)