1
0

fix(export): ignore file size for export files

This commit is contained in:
kolaente
2023-01-11 18:56:30 +01:00
parent 04614614fe
commit 82f4a5ad50
2 changed files with 4 additions and 4 deletions

View File

@ -97,7 +97,7 @@ func ExportUserData(s *xorm.Session, u *user.User) (err error) {
return err
}
exportFile, err := files.CreateWithMimeAndSession(s, exported, tmpFilename, uint64(stat.Size()), u, "application/zip")
exportFile, err := files.CreateWithMimeAndSession(s, exported, tmpFilename, uint64(stat.Size()), u, "application/zip", false)
if err != nil {
return err
}