Skip to content

Commit 9ccf0c1

Browse files
Another temp fix
1 parent 37b2512 commit 9ccf0c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/ChallengeService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ async function searchChallenges (currentUser, criteria) {
196196
typeMap.set(e.id, e.name)
197197
})
198198
_.each(result, element => {
199-
element.type = typeMap.get(element.typeId)
199+
element.type = typeMap.get(element.typeId) || 'Code'
200200
delete element.typeId
201201
})
202202

0 commit comments

Comments
 (0)