diff --git a/lumapps/api/base_client.py b/lumapps/api/base_client.py index 08c57a61..466662a1 100644 --- a/lumapps/api/base_client.py +++ b/lumapps/api/base_client.py @@ -338,7 +338,7 @@ def _call(self, name_parts: Sequence[str], params: dict, json=None): path, params=params, json=json, - headers={**self._extra_http_headers, **self._headers}, + headers={**self._headers, **self._extra_http_headers}, ) if resp.status_code == 401 and self.token_getter: # Token expired, fetch new token and retry! @@ -348,7 +348,7 @@ def _call(self, name_parts: Sequence[str], params: dict, json=None): path, params=params, json=json, - headers={**self._extra_http_headers, **self._headers}, + headers={**self._headers, **self._extra_http_headers}, ) resp.raise_for_status() if not resp.content: