diff --git a/backend/src/auth/auth.service.ts b/backend/src/auth/auth.service.ts index b6b447e..e309589 100644 --- a/backend/src/auth/auth.service.ts +++ b/backend/src/auth/auth.service.ts @@ -87,7 +87,7 @@ export class AuthService { const hash = await argon.hash(newPassword); - this.prisma.user.update({ + return await this.prisma.user.update({ where: { id: user.id }, data: { password: hash }, });