Skip to content

Commit

Permalink
fixed pipes
Browse files Browse the repository at this point in the history
  • Loading branch information
Andcool-Systems committed Dec 10, 2024
1 parent b870acc commit 4ccab93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/user/user.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ export class UserController {
@Post('/users')
@Auth(AuthEnum.Strict)
@Roles([RolesEnum.UpdateUsers])
@UsePipes(new ValidationPipe({ whitelist: true, transform: true }))
async force_register(
@Res() res: Response,
@Body() body: ForceRegisterUserDTO
Expand Down

0 comments on commit 4ccab93

Please sign in to comment.