diff --git a/src/pywaterinfo/waterinfo.py b/src/pywaterinfo/waterinfo.py index be1fb2c..062a2e8 100755 --- a/src/pywaterinfo/waterinfo.py +++ b/src/pywaterinfo/waterinfo.py @@ -87,7 +87,7 @@ def __init__(self, provider: str = "vmm", token: str = None): res.raise_for_status() res_parsed = res.json() self._token_header = { - "Authorization": f"{res_parsed['token_type']}" + "Authorization": f"{res_parsed['token_type']} " f"{res_parsed['access_token']}" } expires_in = res_parsed["expires_in"]