use filtered list instead of old list

This commit is contained in:
2022-09-14 18:26:01 +02:00
parent 14816a0302
commit 64073f8aaf
+1 -1
View File
@@ -26,7 +26,7 @@ mongoManager.connect().then(r => {
android.devices().then((devices) => { android.devices().then((devices) => {
let segmentNumber = listToBook.length / devices.length; let segmentNumber = listToBook.length / devices.length;
for (let i = 0; i < devices.length; i++) { for (let i = 0; i < devices.length; i++) {
startWithList(contactList.slice(i * segmentNumber, segmentNumber * (i + 1)), devices[i]); startWithList(listToBook.slice(i * segmentNumber, segmentNumber * (i + 1)), devices[i]);
} }
}) })
}) })