mirror of
https://github.com/Unleash/unleash.git
synced 2026-10-12 15:39:06 +00:00
fix: simplify isConfigured check
This commit is contained in:
@@ -175,9 +175,6 @@ export class EmailService {
|
||||
}
|
||||
|
||||
configured(): boolean {
|
||||
if (this.sender !== 'not-configured' && this.mailer !== undefined) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return this.sender !== 'not-configured' && this.mailer !== undefined;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user