Skip to content

fix: bountyLevel can be null#1

Open
Matthiee wants to merge 1 commit intoCoaspe:mainfrom
Matthiee:fix-bountyLevel-nullability
Open

fix: bountyLevel can be null#1
Matthiee wants to merge 1 commit intoCoaspe:mainfrom
Matthiee:fix-bountyLevel-nullability

Conversation

@Matthiee
Copy link

@Matthiee Matthiee commented Sep 3, 2025

I was unable to get matches using MatchV5.getMatchByMatchId, with the latest lol_api, because the bountyLevel field is not always defined in the json response. However, it is still listed here https://developer.riotgames.com/apis#match-v5/GET_getMatch

After this patch, the following test passes again.

test('Get a match by match id.', () async {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant