fix: update model associations
This commit is contained in:
parent
7786f0ad48
commit
c865c63f14
@ -16,6 +16,8 @@ async function hasManyGet(instances, options: any = {}) {
|
||||
const where = {};
|
||||
|
||||
let Model = this.target;
|
||||
Model = Model.database.getModel(Model.name);
|
||||
|
||||
let instance;
|
||||
let values;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user