rez_core 1.0.74 → 1.0.76

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": "1.0.74",
3
+ "version": "1.0.76",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -65,7 +65,7 @@ export class EntityController {
65
65
  @Req() req: Request & {user: any}
66
66
  ) {
67
67
  let requestedUser = req.user;
68
- let loggedInUser = await this.entityService.getEntityData(ENTITYTYPE_USER,requestedUser.id);
68
+ let loggedInUser = await this.entityService.getEntityData(ENTITYTYPE_USER,requestedUser.userId);
69
69
 
70
70
  if (!entityType) {
71
71
  throw new BadRequestException(
@@ -96,7 +96,7 @@ export class EntityController {
96
96
  @Req() req: Request & {user: any}
97
97
  ) {
98
98
  let requestedUser = req.user;
99
- let loggedInUser = await this.entityService.getEntityData(ENTITYTYPE_USER,requestedUser.id);
99
+ let loggedInUser = await this.entityService.getEntityData(ENTITYTYPE_USER,requestedUser.userId);
100
100
  if (!entityType) {
101
101
  throw new BadRequestException(
102
102
  'Query parameter "entity_type" is required',