diff --git a/apps/api/src/auth/auth.controller.ts b/apps/api/src/auth/auth.controller.ts index 50a1340..dd82654 100644 --- a/apps/api/src/auth/auth.controller.ts +++ b/apps/api/src/auth/auth.controller.ts @@ -99,7 +99,7 @@ export class AuthController { @Body() dto: ChangePasswordDto, ) { await this.authService.changePassword( - user.sub, + user.id, dto.currentPassword, dto.newPassword, );