removed list ID output

This commit is contained in:
Viet Huynh
2023-09-09 19:54:44 +07:00
parent 43bd87f2dd
commit bc3b16f5fa
+3 -8
View File
@@ -46,16 +46,11 @@ const createZeroTrustListsOneByOne = async (items) => {
const listName = `CGPS List - Chunk ${listNumber}`;
try {
const {
result: { id },
} = await createZeroTrustList(listName, chunk);
await createZeroTrustList(listName, chunk);
await sleep();
totalListNumber--;
listNumber++;
console.log(
`Created ${listName} with ID ${id} - ${totalListNumber} left`
);
await sleep();
console.log(`Created ${listName} list - ${totalListNumber} left`);
} catch (err) {
console.error(`Could not create ${listName} - ${err.toString()}`);
}