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:
@@ -6,7 +6,7 @@ import db from "../db.js";
|
||||
import accessListModel from "./access_list.js";
|
||||
import now from "./now_helper.js";
|
||||
|
||||
Model.knex(db);
|
||||
Model.knex(db());
|
||||
|
||||
class AccessListClient extends Model {
|
||||
$beforeInsert() {
|
||||
|
||||
Reference in New Issue
Block a user