mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-17 01:17:29 +02:00
fix: simplify isConfigured check
This commit is contained in:
parent
f261f546cc
commit
7cb7e4a193
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user