rez_core 2.1.124 → 2.1.126

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rez_core",
3
- "version": "2.1.124",
3
+ "version": "2.1.126",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -221,12 +221,16 @@ export class MasterService {
221
221
  const attributes =
222
222
  await this.attributeMasterService.findAttributesByMappedEntityType(
223
223
  entityType,
224
- loggedInUser.organization_id,
224
+ loggedInUser,
225
225
  );
226
+
227
+ console.log(attributes, 'attributes');
226
228
  const uniqueFields = attributes
227
229
  .filter((attr) => attr.is_unique)
228
230
  .map((attr) => attr.attribute_key);
229
231
 
232
+ console.log(uniqueFields, 'uniqueFields');
233
+
230
234
  if (uniqueFields.length === 0) {
231
235
  throw new Error(`No unique fields found for entityType: ${entityType}`);
232
236
  }
@@ -237,7 +241,10 @@ export class MasterService {
237
241
  }
238
242
 
239
243
  for (const attr of attributes) {
244
+ console.log('inside for loop attr');
240
245
  if (attr.data_source_type === 'entity' && row[attr.attribute_key]) {
246
+ console.log('inside if condition');
247
+
241
248
  const refEntity = await this.entityMasterService.getEntityData(
242
249
  attr.datasource_list,
243
250
  loggedInUser,