Skip to content

Commit

Permalink
fix: data array
Browse files Browse the repository at this point in the history
  • Loading branch information
devfle committed Oct 11, 2023
1 parent 5dc184c commit ce40652
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions readme_level.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ def fetch_user_data(self) -> dict[str, int] | None:
user_data["totalFollowers"] = (response_data["data"]["user"]
["followers"]["totalCount"])

user_data["totalRepositories"] = (response_data["data"]["user"]
["repositories"]["totalCount"])

return user_data

exception("request to github api failed")
Expand Down

0 comments on commit ce40652

Please sign in to comment.