amocrm-client
Advanced tools
Comparing version 0.0.29 to 0.0.30
@@ -31,4 +31,5 @@ "use strict"; | ||
const pagination = yield contactFactory.get({ filter: { id: ids }, limit: 250 }, options); | ||
console.info("def", contacts.length); | ||
contacts = contacts.concat(pagination.getData()); | ||
console.log(pagination.getData()); | ||
console.log("add", contacts.length); | ||
if (!pagination.hasNext() && pagination.getData().length < 250) | ||
@@ -45,3 +46,3 @@ continue; | ||
} | ||
console.log(contacts, contacts.length); | ||
console.log("all", contacts.length); | ||
contacts.forEach(function (contact) { | ||
@@ -48,0 +49,0 @@ embeddedContacts.forEach((embeddedContact) => { |
{ | ||
"name": "amocrm-client", | ||
"version": "0.0.29", | ||
"version": "0.0.30", | ||
"description": "JS Library for AmoCRM", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
309179
5490