diff options
author | Volpeon <git@volpeon.ink> | 2021-10-19 20:02:49 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-10-19 20:02:49 +0200 |
commit | acd474582fa6d9e085aca0378a172a5fdde55d50 (patch) | |
tree | c106f239fa77b5ce5dda0d98d8f1e3e2721ff3a4 /src/services/postDatabase.ts | |
parent | Fix error (diff) | |
download | feralbot-acd474582fa6d9e085aca0378a172a5fdde55d50.tar.gz feralbot-acd474582fa6d9e085aca0378a172a5fdde55d50.tar.bz2 feralbot-acd474582fa6d9e085aca0378a172a5fdde55d50.zip |
Fix queue loading
Diffstat (limited to 'src/services/postDatabase.ts')
-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 { |