diff options
-rw-r--r-- | src/services/postDatabase.ts | 2 |
1 files changed, 2 insertions, 0 deletions
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 { | |||
26 | return; | 26 | return; |
27 | } | 27 | } |
28 | 28 | ||
29 | this.isLoaded = true; | ||
30 | |||
29 | try { | 31 | try { |
30 | await fs.stat(this.filePath); | 32 | await fs.stat(this.filePath); |
31 | } catch { | 33 | } catch { |