From dfeaab540f5ef1e9a6744366b690364f7406f75f Mon Sep 17 00:00:00 2001 From: Lucino772 Date: Sun, 16 Jan 2022 17:47:22 +0100 Subject: [PATCH] fix: Missing return statement in mojang.account.utils.helpers.get_headers (#17) Fix: #16 --- mojang/account/utils/helpers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mojang/account/utils/helpers.py b/mojang/account/utils/helpers.py index 412f67d3..7bbf9235 100644 --- a/mojang/account/utils/helpers.py +++ b/mojang/account/utils/helpers.py @@ -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