Skip to content

Commit

Permalink
fix: Missing return statement in mojang.account.utils.helpers.get_hea…
Browse files Browse the repository at this point in the history
…ders (#17)

Fix: #16
  • Loading branch information
Lucino772 authored Jan 16, 2022
1 parent 78a3449 commit dfeaab5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mojang/account/utils/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ def get_headers(
if bearer:
headers["authorization"] = f"Bearer {bearer}"

return headers


def err_check(
response: requests.Response, *args, use_defaults: Optional[bool] = True
Expand Down

0 comments on commit dfeaab5

Please sign in to comment.