mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-20 22:23:53 +08:00
fix(sidebar): return valid person to prevent cache miss
This commit is contained in:
parent
23c68df4c0
commit
963d1d92cb
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ module.exports = class ClearbitDataSource
|
|||
# valid, but empty object for us to cache. This can happen when we
|
||||
# have company data, but no personal data.
|
||||
if not person
|
||||
return {email: requestedEmail}
|
||||
person = {email: requestedEmail}
|
||||
|
||||
return {
|
||||
cacheDate: Date.now()
|
||||
|
|
Loading…
Reference in a new issue