Skip to content

Commit

Permalink
πŸ’„ backend: more appropriate zip download default file name (#600)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericlinagora committed Jul 23, 2024
1 parent 2f3a4c2 commit 3e6228d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3e6228d

Please sign in to comment.