From 576fc2062c4daaf7c45a3853e4fc5daae543a8db Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 17 Nov 2022 19:26:39 +0100 Subject: [PATCH] fix --- packages/web/src/utility/api.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/web/src/utility/api.ts b/packages/web/src/utility/api.ts index 54edbeaf7..25b66e046 100644 --- a/packages/web/src/utility/api.ts +++ b/packages/web/src/utility/api.ts @@ -41,10 +41,6 @@ export async function apiCall(route: string, args: {} = undefined) { if (apiLogging) { console.log('>>> API CALL', route, args); } - if (apiDisabled) { - console.log('Error, API disabled!!'); - return null; - } const electron = getElectron(); if (electron) {