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