Skip to content

Commit

Permalink
Fix Player Stats response IDs keys
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeall committed Sep 21, 2023
1 parent 8358002 commit 50ea0ff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/services/players/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ def parse_player_stats_field(self) -> list:
)
]


def parse_player_stats_goalkeeper(self) -> list:
stats: list[ElementTree] = self.page.xpath(Players.Stats.PLAYER_STATS)

Expand All @@ -108,9 +107,9 @@ def parse_player_stats_goalkeeper(self) -> list:
return [
{
"season": season,
"competitionId": competition_id,
"competitionID": competition_id,
"competitionName": competition_name,
"clubId": club_id,
"clubID": club_id,
"clubName": club_name,
"appearances": appearance,
"goals": goal,
Expand Down

0 comments on commit 50ea0ff

Please sign in to comment.