Skip to content
This repository was archived by the owner on Apr 17, 2020. It is now read-only.

Commit e995bf6

Browse files
committed
fix: do not overwrite Field from parent Model
1 parent bc53386 commit e995bf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/KnormRelations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,8 @@ class KnormRelations {
332332
throw new KnormRelationsError('invalid Knorm instance provided');
333333
}
334334

335-
this.updateField(knorm);
336335
this.updateModel(knorm);
336+
this.updateField(knorm);
337337
this.updateQuery(knorm);
338338
}
339339
}

0 commit comments

Comments
 (0)