Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Commit

Permalink
v1.0.5 Summoner now prioritizes id, account_id and puuid over name
Browse files Browse the repository at this point in the history
  • Loading branch information
iann838 committed Aug 30, 2020
1 parent 2bdc7be commit 07408cf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyot/models/lol/summoner.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ class Summoner(PyotCore):

class Meta(PyotCore.Meta):
rules = {
"summoner_v4_by_name": ["name"],
"summoner_v4_by_id": ["id"],
"summoner_v4_by_account_id": ["account_id"],
"summoner_v4_by_puuid": ["puuid"],
"summoner_v4_by_name": ["name"],
}
renamed = {"summoner_level": "level"}

Expand Down
2 changes: 1 addition & 1 deletion pyot/models/tft/summoner.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ class Summoner(PyotCore):

class Meta(PyotCore.Meta):
rules = {
"summoner_v1_by_name": ["name"],
"summoner_v1_by_id": ["id"],
"summoner_v1_by_account_id": ["account_id"],
"summoner_v1_by_puuid": ["puuid"],
"summoner_v1_by_name": ["name"],
}
renamed = {"summoner_level": "level"}

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

setup(
name="pyot",
version="1.0.4",
version="1.0.5",
author="Paaksing",
author_email="paaksingtech@gmail.com",
url="https://github.com/paaksing/Pyot",
Expand Down

0 comments on commit 07408cf

Please sign in to comment.