Merge remote-tracking branch 'forgejo/forgejo-development' into forgejo

This commit is contained in:
Loïc Dachary 2023-03-26 21:02:12 +02:00
commit 95e4f16899
No known key found for this signature in database
GPG Key ID: 992D23B392F9E4F2
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ func (m *MinioStorage) Save(path string, r io.Reader, size int64) (int64, error)
m.buildMinioPath(path),
r,
size,
minio.PutObjectOptions{ContentType: "application/octet-stream"},
minio.PutObjectOptions{ContentType: "application/octet-stream", SendContentMd5: true},
)
if err != nil {
return 0, convertMinioErr(err)