1
0
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:
Christopher Kolstad 2021-04-23 15:01:18 +02:00
parent f261f546cc
commit 7cb7e4a193

View File

@ -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;
}
}