Attempt to fix race condition with database instantiation

This commit is contained in:
Jamie Curnow
2025-11-06 12:56:07 +10:00
parent 9dc7dc28d4
commit 7214bcdacb
16 changed files with 26 additions and 17 deletions

View File

@@ -11,7 +11,7 @@ import redirectionHostModel from "./redirection_host.js";
import streamModel from "./stream.js";
import userModel from "./user.js";
Model.knex(db);
Model.knex(db());
const boolFields = ["is_deleted"];