Remove obsolete .txt extension from diagnostics download (#108028)

This commit is contained in:
Michael 2024-01-15 09:17:05 +01:00 committed by GitHub
parent aa3e172a65
commit 9bca09a513
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ async def _async_get_json_file_response(
return web.Response(
body=json_data,
content_type="application/json",
headers={"Content-Disposition": f'attachment; filename="{filename}.json.txt"'},
headers={"Content-Disposition": f'attachment; filename="{filename}.json"'},
)