From 0f90e601d94d779605588fcee223fd2082649dd9 Mon Sep 17 00:00:00 2001 From: Ilham Dwi Pratama S Date: Mon, 27 Dec 2021 03:49:52 +0700 Subject: [PATCH] fix: change password partner --- 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 ba68801..eec7377 100644 --- a/src/users/users.controller.ts +++ b/src/users/users.controller.ts @@ -243,7 +243,7 @@ export class UsersController { @Body() updateUserDto: UpdateUserDto, ) { return { - data: await this.usersService.updatePassword(id, updateUserDto), + data: await this.usersService.updatePasswordPartner(id, updateUserDto), statusCode: HttpStatus.OK, message: 'success', };