mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-21 22:54:11 +08:00
fix(sidebar): return valid person to prevent cache miss
This commit is contained in:
parent
c118c99d73
commit
a69d918c0f
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
|
# valid, but empty object for us to cache. This can happen when we
|
||||||
# have company data, but no personal data.
|
# have company data, but no personal data.
|
||||||
if not person
|
if not person
|
||||||
return {email: requestedEmail}
|
person = {email: requestedEmail}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
cacheDate: Date.now()
|
cacheDate: Date.now()
|
||||||
|
|
Loading…
Reference in a new issue