nicot 1.1.36 → 1.1.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1315,7 +1315,7 @@ var CrudBase = class {
1315
1315
  delete o[field];
1316
1316
  }
1317
1317
  visited.add(o);
1318
- for (const relation of this._typeormRelations) {
1318
+ for (const relation of getTypeormRelations(cl)) {
1319
1319
  const propertyName = relation.propertyName;
1320
1320
  if (o[propertyName]) {
1321
1321
  if (Array.isArray(o[propertyName])) {