Skip to content

Commit 08cbc27

Browse files
fix typo
1 parent edc9135 commit 08cbc27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/ChallengeService.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ async function searchChallenges (currentUser, criteria) {
135135
}
136136
}
137137
if (criteria.tracks) {
138-
for (const t of criteria.types) {
138+
for (const t of criteria.tracks) {
139139
const trackSearchRes = await ChallengeTrackService.searchChallengeTracks({ abbreviation: t })
140140
if (trackSearchRes.total > 0) {
141141
includedTrackIds.push(_.get(trackSearchRes, 'result[0].id'))

0 commit comments

Comments
 (0)