@ -120,12 +120,14 @@ func doUploadData(uploadUrl string, filename string, cipher bool, data []byte, i
}, filename, contentIsGzipped, mtype, pairMap, jwt)
}
if uploadResult != nil {
if uploadResult == nil {
return
uploadResult.Size = uint32(clearDataLen)
if contentIsGzipped {
uploadResult.Gzip = 1
return uploadResult, err