rez_core 3.1.95 → 3.1.96

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": "3.1.95",
3
+ "version": "3.1.96",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -33,7 +33,7 @@ export class FieldMapperController {
33
33
  @Body() inputJson,
34
34
  ) {
35
35
  const loggedInUser = req.user.userData;
36
- return this.fieldMapperService.resolveData(
36
+ return await this.fieldMapperService.resolveData(
37
37
  integration_component,
38
38
  action,
39
39
  entity_type,
@@ -215,7 +215,9 @@ export class FieldMapperService extends EntityServiceImpl {
215
215
  }
216
216
  }
217
217
  }
218
-
218
+ if (action === 'LOOKUP') {
219
+ return Object.fromEntries(result);
220
+ }
219
221
  return result;
220
222
  }
221
223
  }