fix: ExistingUploadID no longer needed

This commit is contained in:
Derrick Hammer 2024-03-01 20:56:22 -05:00
parent ddc21014a8
commit 217bb78b3b
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 4 additions and 5 deletions

View File

@ -1922,11 +1922,10 @@ func (s *S5API) pinImportCronJob(cid string, url string, proofUrl string, userId
return object.Body, nil return object.Body, nil
}, },
Bucket: s.config.Config().Core.Storage.S3.BufferBucket, Bucket: s.config.Config().Core.Storage.S3.BufferBucket,
FileName: s5.GetStorageProtocol(s.protocol).EncodeFileName(parsedCid.Hash.HashBytes()), FileName: s5.GetStorageProtocol(s.protocol).EncodeFileName(parsedCid.Hash.HashBytes()),
Size: parsedCid.Size, Size: parsedCid.Size,
ExistingUploadID: "", UploadIDHandler: nil,
UploadIDHandler: nil,
}, &baoProof) }, &baoProof)
if err != nil { if err != nil {