feat(api): save file as prompt_templates.csv

This commit is contained in:
psychedelicious 2024-08-16 09:51:46 +10:00
parent 599db7296f
commit 7a3eaa8da9

View File

@ -254,7 +254,9 @@ async def export_style_presets():
output.close()
return Response(
content=csv_data, media_type="text/csv", headers={"Content-Disposition": "attachment; filename=data.csv"}
content=csv_data,
media_type="text/csv",
headers={"Content-Disposition": "attachment; filename=prompt_templates.csv"},
)