We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a72cbf1 commit 57b377dCopy full SHA for 57b377d
root-module-manual/server.py
@@ -287,7 +287,7 @@ def patch():
287
file_path,
288
mimetype='application/octet-stream',
289
as_attachment=True,
290
- attachment_filename=f"patched_{library_name}"
+ download_name=f"patched_{library_name}"
291
)
292
except Exception as e:
293
logger.error(f"Error sending patched file: {str(e)}")
@@ -332,7 +332,7 @@ def api():
332
patched_file_path,
333
334
335
- attachment_filename=patched_filename
+ download_name=patched_filename
336
))
337
os.remove(file_path)
338
os.remove(patched_file_path)
0 commit comments