mirror of
				https://github.com/Crazyco-xyz/48hr.email.git
				synced 2025-11-03 23:16:31 +01:00 
			
		
		
		
	Properly check for UNDEFINED
This commit is contained in:
		
							parent
							
								
									80d8ecfad2
								
							
						
					
					
						commit
						367c4a688b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -27,7 +27,7 @@ class MailRepository {
 | 
			
		|||
	}
 | 
			
		||||
 | 
			
		||||
	add(to, mailSummary) {
 | 
			
		||||
		if (to !== 'undefined') {
 | 
			
		||||
		if (to !== undefined) {
 | 
			
		||||
			this.mailSummaries.set(to.toLowerCase(), mailSummary)
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue