fix cloudflare r2 support?
This commit is contained in:
parent
71ae1b1aa5
commit
295b76aad2
2 changed files with 10 additions and 5 deletions
|
@ -67,7 +67,8 @@ func (db *DB) CreateExport(ctx context.Context, userID xid.ID, filename string,
|
|||
}
|
||||
|
||||
_, err = db.minio.PutObject(ctx, db.minioBucket, de.Path(), file, int64(file.Len()), minio.PutObjectOptions{
|
||||
ContentType: "application/zip",
|
||||
ContentType: "application/zip",
|
||||
SendContentMd5: true,
|
||||
})
|
||||
if err != nil {
|
||||
return de, errors.Wrap(err, "writing export file")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue