From 0a5db0cecbadc01d88bb0e8dff5cc10e9b77580e Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Thu, 14 Apr 2022 10:12:03 +0800 Subject: [PATCH] Fix #1478 --- server/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server.js b/server/server.js index 109221e2d..ced5626c8 100644 --- a/server/server.js +++ b/server/server.js @@ -1228,7 +1228,7 @@ try { } // Only starts importing if the backup file contains at least one proxy - if (proxyListData.length >= 1) { + if (proxyListData && proxyListData.length >= 1) { const proxies = await R.findAll("proxy"); // Loop over proxy list and save proxies