Fixes use of user.id in GET user/me
The user.id was invalid as userDto type would require user.user.id. Updated req['user']; to req['userEntity']; where user.id will work as expected
Why did you make the changes?
The incorrect id ref was causing a different user to be loaded in updateUser See example log below where one userId is used in the GET, and a different userId is updated
What changes did you make?
Fixes use of
user.id
in GETuser/me
Theuser.id
was invalid as userDto type would requireuser.user.id
. Updatedreq['user'];
toreq['userEntity'];
whereuser.id
will work as expectedWhy did you make the changes?
The incorrect id ref was causing a different user to be loaded in
updateUser
See example log below where one userId is used in the GET, and a different userId is updated