Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3391384
D7157.id24086.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
552 B
Referenced Files
None
Subscribers
None
D7157.id24086.diff
View Options
diff --git a/keyserver/src/fetchers/user-fetchers.js b/keyserver/src/fetchers/user-fetchers.js
--- a/keyserver/src/fetchers/user-fetchers.js
+++ b/keyserver/src/fetchers/user-fetchers.js
@@ -247,7 +247,7 @@
const shouldIncludeAvatar = hasMinCodeVersion(viewer.platformDetails, 1000);
if (shouldIncludeAvatar && avatar) {
- loggedInUserInfo = { ...loggedInUserInfo, avatar };
+ loggedInUserInfo = { ...loggedInUserInfo, avatar: JSON.parse(avatar) };
}
const featureGateSettings = !hasMinCodeVersion(viewer.platformDetails, 1000);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 1, 3:42 AM (19 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2603218
Default Alt Text
D7157.id24086.diff (552 B)
Attached To
Mode
D7157: [keyserver] `JSON.parse()` stringified `avatar` in `fetchLoggedInUserInfo`
Attached
Detach File
Event Timeline
Log In to Comment