rez_core 1.0.75 → 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
|
@@ -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.
|
|
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.
|
|
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',
|