mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-11-07 10:55:14 +00:00
Attempt to fix race condition with database instantiation
This commit is contained in:
@@ -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"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user