res dto
This commit is contained in:
@@ -9,6 +9,7 @@ export class UsersController {
|
||||
@Patch('password')
|
||||
async changePassword(@Request() req, @Body() dto: ChangePasswordDto) {
|
||||
console.log("dd");
|
||||
return await this.userService.changePassword(req.user.userId, dto);
|
||||
await this.userService.changePassword(req.user.userId, dto);
|
||||
return
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user