rez_core 4.0.8 → 4.0.10

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": "4.0.8",
3
+ "version": "4.0.10",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -1297,6 +1297,7 @@ export class IntegrationService {
1297
1297
  templateId: number,
1298
1298
  entity_type: any,
1299
1299
  entity_id: any,
1300
+ loggedInUser?: any,
1300
1301
  ): Promise<{
1301
1302
  variables?: Record<string, any>;
1302
1303
  externalTemplateId?: string;
@@ -1322,6 +1323,7 @@ export class IntegrationService {
1322
1323
  'LOOKUP',
1323
1324
  entity_type,
1324
1325
  entity_id,
1326
+ loggedInUser,
1325
1327
  {} as any,
1326
1328
  );
1327
1329
  }
@@ -229,8 +229,8 @@ export class ResolverService {
229
229
  else if (attr.data_source_type === 'master') {
230
230
  const [item] = await this.dataSource.query(
231
231
  `SELECT id FROM frm_list_master_items
232
- WHERE ${attr.data_source_attribute} = ? AND organization_id = ?`,
233
- [displayValue, loggedInUser.organization_id],
232
+ WHERE ${attr.data_source_attribute} = ? AND organization_id = ? AND listtype = ?`,
233
+ [displayValue, loggedInUser.organization_id, attr.datasource_list],
234
234
  );
235
235
  return item?.id ?? displayValue;
236
236
  }
@@ -1,5 +0,0 @@
1
- {
2
- "recommendations": [
3
- "dbaeumer.vscode-eslint"
4
- ]
5
- }