From ec1ccf6888fd8ffec51ac2ae6614a8441e366392 Mon Sep 17 00:00:00 2001 From: Isaac Abadi Date: Tue, 3 May 2022 00:35:02 -0400 Subject: [PATCH] Fixed bug that incorrectly told the UI that DB transfer failed --- backend/db.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/db.js b/backend/db.js index 64d2a64..17c2e5a 100644 --- a/backend/db.js +++ b/backend/db.js @@ -85,8 +85,6 @@ exports.initialize = (input_db, input_users_db) => { } exports.connectToDB = async (retries = 5, no_fallback = false, custom_connection_string = null) => { - using_local_db = config_api.getConfigItem('ytdl_use_local_db'); // verify - if (using_local_db && !custom_connection_string) return; const success = await exports._connectToDB(custom_connection_string); if (success) return true;