Skip to content

Commit

Permalink
fix: test profile update
Browse files Browse the repository at this point in the history
  • Loading branch information
r-marques committed Dec 19, 2023
1 parent f82da1b commit 54c836d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "marketplace_api",
"version": "0.7.1",
"version": "0.7.2-rc0",
"description": "The API allowing to manage Nevermined Marketplace common functionalities",
"main": "main.ts",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions src/user-profiles/user-profile.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ export class UserProfileController {
@Req() req: Request<unknown>,
): Promise<GetUserProfileDto> {
const { userId, roles } = req.user
console.log('updateProfile', req.user, userIdEntity)

checkOwnership(userId, userIdEntity, roles)

Expand Down

0 comments on commit 54c836d

Please sign in to comment.