diff --git a/webapp/shop/api/trueability/api.py b/webapp/shop/api/trueability/api.py index e16c14c5844..2c10474be54 100644 --- a/webapp/shop/api/trueability/api.py +++ b/webapp/shop/api/trueability/api.py @@ -24,7 +24,7 @@ def make_request( allow_redirects: bool = True, ): uri = f"{self.base_url}{path}" - headers["X-API_KEY"] = f"{self.api_key}" + headers["X-API-KEY"] = f"{self.api_key}" response = self.session.request( method, @@ -232,7 +232,7 @@ def get_filtered_webhook_responses( f"?ability_screen_id={ability_screen_id}" f"&page={page}" ) - headers = {"X-API_KEY": self.api_key} + headers = {"X-API-KEY": self.api_key} response = self.session.request( method="GET", url=uri, headers=headers ).json()