Skip to content

Commit

Permalink
Default to forfeit undefined instead of false
Browse files Browse the repository at this point in the history
  • Loading branch information
Drarig29 committed Mar 31, 2021
1 parent dbabf6c commit b885e61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/convert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export function convertParticipantResult(id: number | null, result: toornament.O
return {
id,
score: result.score !== null ? result.score : undefined,
forfeit: result.forfeit,
forfeit: result.forfeit || undefined,
result: result.result || undefined,
}
}
Expand Down

0 comments on commit b885e61

Please sign in to comment.