From cc397081627e8dba76be6ea46bdc41fa40ad85d5 Mon Sep 17 00:00:00 2001 From: Craig Bassett Date: Fri, 9 Jul 2021 11:54:50 -0500 Subject: [PATCH] fix: don't block connection on fresh moonraker databases Signed-off-by: Craig Bassett --- src/init.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/init.ts b/src/init.ts index ca83e94ecd..afe61102f9 100644 --- a/src/init.ts +++ b/src/init.ts @@ -124,6 +124,8 @@ export const appInit = async (apiConfig?: ApiConfig, hostConfig?: HostConfig): P key, value: {} }) + apiConnected = true + return {} } if (r.response && r.response.status === 401) { // The API is technically connected, but we're un-authenticated.