fix(zip): close file after copying to zip (#388)

This commit is contained in:
thielepaul 2021-04-06 12:47:15 +02:00 committed by GitHub
parent cddbcfc6d1
commit d37497cd0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -457,6 +457,7 @@ func FileDownloader(ctx App, res http.ResponseWriter, req *http.Request) {
io.Copy(zipFile, strings.NewReader(""))
return err
}
file.Close()
return nil
}
// Process Folder