anhledger12 commited on
Commit
cd3fc96
2 Parent(s): f8436e5 d49e7bc

Merge pull request #34 from PBL6-team-CATS/feature/login

Browse files
backend/src/modules/authentication/authentication.controller.ts CHANGED
@@ -33,7 +33,6 @@ export class AuthenticationController {
33
  }
34
 
35
  @Get('profile')
36
- @Roles(Role.CUSTOMER)
37
  getProfile(@Request() req) {
38
  const userId = req.user.sub;
39
  return this.AuthenticationService.getProfile(userId);
 
33
  }
34
 
35
  @Get('profile')
 
36
  getProfile(@Request() req) {
37
  const userId = req.user.sub;
38
  return this.AuthenticationService.getProfile(userId);