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