mirror of
https://github.com/Crazyco-xyz/48hr.email.git
synced 2025-07-01 22:47:09 +02: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) {
|
add(to, mailSummary) {
|
||||||
if (to !== 'undefined') {
|
if (to !== undefined) {
|
||||||
this.mailSummaries.set(to.toLowerCase(), mailSummary)
|
this.mailSummaries.set(to.toLowerCase(), mailSummary)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue