Skip to content

Commit

Permalink
fix: fixed support for champion rank (ultimate) (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
TeKrop authored Feb 14, 2024
1 parent 24a321f commit d56fd30
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/common/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class CompetitiveDivision(StrEnum):
DIAMOND = "diamond"
MASTER = "master"
GRANDMASTER = "grandmaster"
CHAMPION = "champion"
ULTIMATE = "ultimate"


class Locale(StrEnum):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "overfast-api"
version = "2.25.0"
version = "2.25.1"
description = "Overwatch API giving data about heroes, maps, and players statistics."
license = "MIT"
authors = ["Valentin PORCHET <[email protected]>"]
Expand Down
4 changes: 2 additions & 2 deletions tests/parsers/test_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ def test_get_computed_stat_value(input_str: str, result: float | str):
CompetitiveDivision.GRANDMASTER,
),
(
"https://static.playoverwatch.com/img/pages/career/icons/rank/ChampionTier-3-e55e61f68f.png",
CompetitiveDivision.CHAMPION,
"https://static.playoverwatch.com/img/pages/career/icons/rank/Rank_UltimateTier-99f8248b65.png",
CompetitiveDivision.ULTIMATE,
),
],
)
Expand Down

0 comments on commit d56fd30

Please sign in to comment.