identity-admin 1.4.2 → 1.4.3
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.
|
@@ -139,7 +139,7 @@ class ResourcesHelper {
|
|
|
139
139
|
// }
|
|
140
140
|
const key = showProperties[i].key;
|
|
141
141
|
if ((model[key].type === 'ref' && model.virtuals && model.virtuals[key]) || (model[key].type === 'Array' && model.virtuals && model.virtuals[key] && model[key].arrayType === 'ref')) {
|
|
142
|
-
const resourceModel = model[key].resource;
|
|
142
|
+
const resourceModel = model.virtuals[key].resource;
|
|
143
143
|
const repository = new Repository_1.default(resourceModel);
|
|
144
144
|
filterBy = filterBy + "Id";
|
|
145
145
|
const filterQuery = {};
|