summaryrefslogtreecommitdiffstats
path: root/src/services
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-10-19 20:02:49 +0200
committerVolpeon <git@volpeon.ink>2021-10-19 20:02:49 +0200
commitacd474582fa6d9e085aca0378a172a5fdde55d50 (patch)
treec106f239fa77b5ce5dda0d98d8f1e3e2721ff3a4 /src/services
parentFix error (diff)
downloadferalbot-acd474582fa6d9e085aca0378a172a5fdde55d50.tar.gz
feralbot-acd474582fa6d9e085aca0378a172a5fdde55d50.tar.bz2
feralbot-acd474582fa6d9e085aca0378a172a5fdde55d50.zip
Fix queue loading
Diffstat (limited to 'src/services')
-rw-r--r--src/services/postDatabase.ts2
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 {