Spaces:
Sleeping
Sleeping
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);
|