fix(azure): remove trailing semicolon in Content-Type header for image generation (#13584)

This commit is contained in:
Michael Verunica 2025-08-13 18:43:02 +02:00 committed by GitHub
parent 5e45fcdff0
commit 37e57a0e5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -311,7 +311,7 @@ def image_generation( # noqa: PLR0915
) or get_secret_str("AZURE_AD_TOKEN")
default_headers = {
"Content-Type": "application/json;",
"Content-Type": "application/json",
"api-key": api_key,
}
for k, v in default_headers.items():