From e502b98d68fa7e016c8776f95ed3aa236e764b69 Mon Sep 17 00:00:00 2001 From: "[\"Younes MHARRECH\"]" <[ext.cgi.ymharrech@grandlyon.com]> Date: Wed, 22 Jun 2022 14:16:56 +0200 Subject: [PATCH] coquille --- src/users/users.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/users/users.controller.ts b/src/users/users.controller.ts index ef82256..c498213 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); -- GitLab