Skip to content

Commit ea20736

Browse files
committed
Don't set ChecksumSHA256 in thumbnail upload
1 parent e3f2697 commit ea20736

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

db/s3.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ func PutThumbnail(id int, data io.Reader) error {
4747
Key: aws.String(fmt.Sprintf("%d_thumb_128.png", id)),
4848
ACL: types.ObjectCannedACLPublicRead,
4949
Body: data,
50-
ChecksumSHA256: aws.String("UNSIGNED-PAYLOAD"), // required otherwise OVH S3 rejects
5150
})
5251
if err != nil {
5352
return err

0 commit comments

Comments
 (0)