Skip to content

Commit

Permalink
fix: wrong pointer in user data dict
Browse files Browse the repository at this point in the history
  • Loading branch information
devfle authored Jan 2, 2024
1 parent 225dba3 commit 32f2afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme_level.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 32f2afd

Please sign in to comment.