Skip to content

Commit

Permalink
Fix typo in Authorizaton header: Berarer -> Bearer (#8498)
Browse files Browse the repository at this point in the history
Co-authored-by: Giovanni Allegri <giohappy@gmail.com>
  • Loading branch information
EHJ-52n and giohappy committed Dec 16, 2021
1 parent 160ab52 commit 8dce675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/thumbs/utils.py
Expand Up @@ -214,7 +214,7 @@ def get_map(
encoded_credentials = base64.b64encode(f"{_user}:{_pwd}".encode("UTF-8")).decode("ascii")
headers["Authorization"] = f"Basic {encoded_credentials}"
else:
headers["Authorization"] = f"Berarer {additional_kwargs['access_token']}"
headers["Authorization"] = f"Bearer {additional_kwargs['access_token']}"

wms = WebMapService(f"{thumbnail_url}{wms_endpoint}", version=wms_version, headers=headers)

Expand Down

0 comments on commit 8dce675

Please sign in to comment.