💄 backend: more appropriate zip download default file name (#600)
This commit is contained in:
committed by
ericlinagora
parent
2f3a4c2302
commit
3e6228d3e5
@@ -486,6 +486,7 @@ export class DocumentsController {
|
||||
|
||||
try {
|
||||
const archive = await globalResolver.services.documents.documents.createZip(ids, context);
|
||||
reply.raw.setHeader("content-disposition", 'attachment; filename="twake_drive.zip"');
|
||||
|
||||
archive.on("finish", () => {
|
||||
reply.status(200);
|
||||
|
||||
Reference in New Issue
Block a user