From 50ea0ff5c98e4376349df800b9c7be83704537b2 Mon Sep 17 00:00:00 2001 From: Felipe Allegretti Date: Wed, 20 Sep 2023 10:03:50 -0300 Subject: [PATCH] Fix Player Stats response IDs keys --- app/services/players/stats.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/services/players/stats.py b/app/services/players/stats.py index 1d0d026..cc26beb 100644 --- a/app/services/players/stats.py +++ b/app/services/players/stats.py @@ -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) @@ -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,