diff --git a/src/users/users.controller.ts b/src/users/users.controller.ts index ef8225670d43471fe9e5fa3955f6904f2f83b844..c498213ff8c722f5bc0f4e954d311df64088becc 100755 --- a/src/users/users.controller.ts +++ b/src/users/users.controller.ts @@ -31,7 +31,7 @@ export class UsersController { return this.usersService.remove(id, req.user); } - /*@UseGuards(JwtAuthGuard)*/ + @UseGuards(JwtAuthGuard) @Post('profil') async createUser(@Request() req) { return this.usersService.createUser(req.body);