amocrm-client
Advanced tools
Comparing version 0.0.26 to 0.0.27
@@ -117,3 +117,3 @@ "use strict"; | ||
const { embedded, factory } = this.params; | ||
if (!(response === null || response === void 0 ? void 0 : response._embedded)) | ||
if (response && !response._embedded) | ||
return []; | ||
@@ -120,0 +120,0 @@ const data = (response === null || response === void 0 ? void 0 : response._embedded[embedded]) || []; |
{ | ||
"name": "amocrm-client", | ||
"version": "0.0.26", | ||
"version": "0.0.27", | ||
"description": "JS Library for AmoCRM", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
308917