fixed list creation

This commit is contained in:
Viet Huynh
2023-09-09 22:43:56 +07:00
parent b77da7b278
commit 603c9a0870
+2 -2
View File
@@ -112,9 +112,9 @@ fs.readFile('input.csv', 'utf8', async (err, data) => {
if (DRY_RUN) return console.log('Dry run complete - no lists were created. If this was not intended, please remove the DRY_RUN environment variable and try again.'); if (DRY_RUN) return console.log('Dry run complete - no lists were created. If this was not intended, please remove the DRY_RUN environment variable and try again.');
if (FAST_MODE) { if (FAST_MODE) {
createZeroTrustListsAtOnce(items); createZeroTrustListsAtOnce(domains);
return; return;
} }
createZeroTrustListsOneByOne(items); createZeroTrustListsOneByOne(domains);
}); });