From acd474582fa6d9e085aca0378a172a5fdde55d50 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Tue, 19 Oct 2021 20:02:49 +0200 Subject: Fix queue loading --- src/services/postDatabase.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/services/postDatabase.ts b/src/services/postDatabase.ts index e3be7bb..ab5db28 100644 --- a/src/services/postDatabase.ts +++ b/src/services/postDatabase.ts @@ -26,6 +26,8 @@ export class PostDatabase { return; } + this.isLoaded = true; + try { await fs.stat(this.filePath); } catch { -- cgit v1.2.3-70-g09d2