diff --git a/api/src/user/services/passwordReset.service.ts b/api/src/user/services/passwordReset.service.ts index f9a1e4d..74780ea 100644 --- a/api/src/user/services/passwordReset.service.ts +++ b/api/src/user/services/passwordReset.service.ts @@ -56,7 +56,7 @@ export class PasswordResetService { if (!user) { throw new NotFoundException('User not found'); } - const jwt = await this.sign(dto); + const jwt = await this.sign({ ...dto }); if (this.mailerService) { try {