Attempt to fix race condition with database instantiation

This commit is contained in:
Jamie Curnow
2025-11-06 12:56:07 +10:00
parent 4cb85f6480
commit 51e25d1a40
16 changed files with 26 additions and 17 deletions

View File

@@ -10,7 +10,7 @@ import now from "./now_helper.js";
import ProxyHostModel from "./proxy_host.js";
import User from "./user.js";
Model.knex(db);
Model.knex(db());
const boolFields = ["is_deleted", "satisfy_any", "pass_auth"];