From 32f2afd8b345136c10b4b51a82d607cd744d9c4e Mon Sep 17 00:00:00 2001 From: devfle <52854338+devfle@users.noreply.github.com> Date: Tue, 2 Jan 2024 18:25:53 +0100 Subject: [PATCH] fix: wrong pointer in user data dict --- readme_level.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme_level.py b/readme_level.py index 57bf28c..9b6c470 100644 --- a/readme_level.py +++ b/readme_level.py @@ -34,7 +34,7 @@ def fetch_user_data(self) -> dict[str, int] | None: response_data = response.json() - user_data = (response_data["data"]["user"] + user_data["totalContributions"] = (response_data["data"]["user"] ["contributionsCollection"]["totalCommitContributions"]) user_data["totalFollowers"] = (response_data["data"]["user"]