Skip to content

Commit

Permalink
Fixing mypy error.
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysrevans3 committed Jan 5, 2024
1 parent 9cbce13 commit 705b9cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def _es_config() -> Dict[str, Any]:
config["http_auth"] = (u, p)

if api_key := os.getenv("ES_API_KEY"):
config["headers"]["x-api-key"] = api_key
config |= {"headers": {"x-api-key": api_key}}

return config

Expand Down

0 comments on commit 705b9cb

Please sign in to comment.