mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-11-06 18:35:14 +00:00
Attempt to fix race condition with database instantiation
This commit is contained in:
@@ -7,7 +7,7 @@ import { convertBoolFieldsToInt, convertIntFieldsToBool } from "../lib/helpers.j
|
||||
import now from "./now_helper.js";
|
||||
import UserPermission from "./user_permission.js";
|
||||
|
||||
Model.knex(db);
|
||||
Model.knex(db());
|
||||
|
||||
const boolFields = ["is_deleted", "is_disabled"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user