fix: ExistingUploadID no longer needed
This commit is contained in:
parent
ddc21014a8
commit
217bb78b3b
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue