This commit is contained in:
parent
dfee2b0ce4
commit
2415e22258
|
@ -271,7 +271,7 @@ class VnMySQL extends MySQL {
|
||||||
isLoggable(model) {
|
isLoggable(model) {
|
||||||
const Model = this.getModelDefinition(model).model;
|
const Model = this.getModelDefinition(model).model;
|
||||||
const {settings} = Model.definition;
|
const {settings} = Model.definition;
|
||||||
return settings?.mixins?.Loggable;
|
return settings.mixins?.Loggable;
|
||||||
}
|
}
|
||||||
|
|
||||||
invokeMethod(method, args, model, ctx, opts, cb) {
|
invokeMethod(method, args, model, ctx, opts, cb) {
|
||||||
|
|
Loading…
Reference in New Issue