Skip to content

Commit

Permalink
fix: Parse empty bout result
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustl22 committed Aug 3, 2024
1 parent fffac49 commit fedf1ea
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ class ByGermanyWrestlingApi extends WrestlingApi {
'DN' => BoutResult.vfo,
'DQ' => BoutResult.dsq,
'DQ2' => BoutResult.dsq2,
'' => null,
null => null,
_ => throw UnimplementedError('The bout result type "$result" is not known in bout $boutJson.'),
};
Expand Down

0 comments on commit fedf1ea

Please sign in to comment.