ks3-js-sdk
Advanced tools
Comparing version 1.3.0 to 1.3.1
{ | ||
"name": "ks3-js-sdk", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "js sdk for ks3", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -655,4 +655,6 @@ var utils = require('./utils.js'); | ||
if(res && res.statusCode === 200){ | ||
var uploadId = res?.body?.InitiateMultipartUploadResult?.UploadId; | ||
callback(null, uploadId); | ||
if (res.body && res.body.InitiateMultipartUploadResult) { | ||
var uploadId = res.body.InitiateMultipartUploadResult.UploadId; | ||
callback(null, uploadId); | ||
} | ||
}else{ | ||
@@ -659,0 +661,0 @@ callback(res.error ? res : ''); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3396290
52529