1
0
forked from noxious/server

Bug fix for reset password

This commit is contained in:
2024-11-05 20:32:27 +01:00
parent 44cfbd6ee8
commit ad4f33676f
2 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ class UserService {
}
const hashedPassword = await bcrypt.hash(password, 10)
prisma.user.update({
await prisma.user.update({
where: { id: tokenData.userId },
data: {
password: hashedPassword