chore: contact us module
This commit is contained in:
@@ -79,7 +79,7 @@ export class AuthController {
|
||||
@AuthGuards()
|
||||
@ApiOperation({ summary: "Update user password" })
|
||||
@HttpCode(HttpStatus.OK)
|
||||
@Patch("password")
|
||||
@Patch("change-password")
|
||||
updatePassword(@UserDec() user: User, @Body() updatePasswordDto: UpdatePasswordDto) {
|
||||
return this.authService.updatePassword(user.id, updatePasswordDto);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user