From 881d534988f847cf078d86b17b1994e97320ac6b Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Sat, 15 Jan 2022 18:21:41 +0300 Subject: [PATCH] Update create-database.js --- scripts/commands/create-database.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/commands/create-database.js b/scripts/commands/create-database.js index d8d473d6..5d2ef9b9 100644 --- a/scripts/commands/create-database.js +++ b/scripts/commands/create-database.js @@ -50,7 +50,7 @@ async function loadChannels() { async function saveToDatabase() { logger.info('Saving to the database...') - + await db.channels.load() await db.channels.reset() const chunks = split(_.shuffle(channels), options.maxClusters) for (const [i, chunk] of chunks.entries()) {