fix(api): passwordReset jwt plain object

This commit is contained in:
yassinedorbozgithub 2024-09-29 18:14:07 +01:00
parent f882943eec
commit d6be5e959c

View File

@ -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 {