fix: need to pass content length

This commit is contained in:
Derrick Hammer 2024-02-27 04:31:55 -05:00
parent 9b6a253313
commit 01eda4aa23
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 4 additions and 3 deletions

View File

@ -1682,6 +1682,7 @@ func (s *S5API) pinImportCronJob(cid string, url string, proofUrl string, userId
Bucket: aws.String(s.config.Config().Core.Storage.S3.BufferBucket),
Key: aws.String(cid),
Body: verifier,
ContentLength: aws.Int64(int64(parsedCid.Size)),
})
if err != nil {
return err