fix(server/test): problematic cyclic dependency

This commit is contained in:
Elian Doran
2025-07-30 08:38:06 +03:00
parent 5e28df883d
commit 5bc4bdaeef
2 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ import password from "./encryption/password.js";
import backup from "./backup.js";
import eventService from "./events.js";
const dbReady = deferred<void>();
export const dbReady = deferred<void>();
function schemaExists() {
return !!sql.getValue(/*sql*/`SELECT name FROM sqlite_master