fix: make mailerService optional

This commit is contained in:
yassinedorbozgithub 2025-01-09 08:31:42 +01:00
parent 5bb4668a01
commit 869d7d167d

View File

@ -36,7 +36,7 @@ export class PasswordResetService {
private readonly userService: UserService,
public readonly i18n: I18nService,
public readonly languageService: LanguageService,
@Optional() private readonly mailerService: MailerService,
@Optional() private readonly mailerService?: MailerService,
) {}
public readonly jwtSignOptions: JwtSignOptions = {