mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-09-21 21:15:13 +00:00
Optimize the naming of setting params (#410)
This commit is contained in:
@@ -194,5 +194,5 @@ async def download_code(pk: Annotated[int, Path(..., description='业务ID')]):
|
||||
return StreamingResponse(
|
||||
bio,
|
||||
media_type='application/x-zip-compressed',
|
||||
headers={'Content-Disposition': f'attachment; filename={generator_settings.ZIP_FILENAME}.zip'},
|
||||
headers={'Content-Disposition': f'attachment; filename={generator_settings.DOWNLOAD_ZIP_FILENAME}.zip'},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user