1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-06-30 06:30:11 +02:00

fix: update password doesn't work

This commit is contained in:
Elias Schneider 2023-01-10 12:29:38 +01:00
parent dc9ec429c6
commit 74e8956106

View File

@ -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 },
});