Skip to content

Commit 59849b3

Browse files
authored
Merge pull request #198 from CKPalk/patch-1
Correct key for returned leads using scroll api
2 parents fafcaf8 + 1df9c62 commit 59849b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ client.leads.scroll.each({}, function(res) {
184184
// after this promise has resolved
185185
new Bluebird((resolve) => {
186186
setTimeout(() => {
187-
console.log(res.body.users.length);
187+
console.log(res.body.contacts.length);
188188
// Your custom logic
189189
resolve();
190190
}, 500)

0 commit comments

Comments
 (0)