Page MenuHomePhabricator

D13139.diff
No OneTemporary

D13139.diff

diff --git a/lib/utils/fc-cache.js b/lib/utils/fc-cache.js
--- a/lib/utils/fc-cache.js
+++ b/lib/utils/fc-cache.js
@@ -141,7 +141,11 @@
}
const { farcasterUser } = cacheResult;
- if (typeof farcasterUser !== 'object' || farcasterUser instanceof Promise) {
+ if (
+ typeof farcasterUser !== 'object' ||
+ farcasterUser instanceof Promise ||
+ !farcasterUser
+ ) {
return undefined;
}

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 27, 12:04 PM (19 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2590375
Default Alt Text
D13139.diff (434 B)

Event Timeline