Skip to content

Commit

Permalink
fix: update password doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
stonith404 committed Jan 10, 2023
1 parent dc9ec42 commit 74e8956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/auth/auth.service.ts
Expand Up @@ -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 },
});
Expand Down

0 comments on commit 74e8956

Please sign in to comment.