Skip to content

Commit 19d2420

Browse files
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 7c63357 commit 19d2420

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/users/user.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class UserService {
3030
const hashedPassword = await this.passwordService.hashPassword(changePassword.newPassword);
3131

3232
return this.prisma.user.update({
33-
data: {},
33+
data: { password: hashedPassword },
3434
where: { id: userId },
3535
});
3636
}

0 commit comments

Comments
 (0)