mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01: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