Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani committed Dec 16, 2021
2 parents 16f899e + 8dce675 commit 30871f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/thumbs/utils.py
Original file line number Diff line number Diff line change
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 30871f4

Please sign in to comment.