Page MenuHomePhabricator

D11888.diff
No OneTemporary

D11888.diff

diff --git a/lib/shared/messages/update-relationship-message-spec.js b/lib/shared/messages/update-relationship-message-spec.js
--- a/lib/shared/messages/update-relationship-message-spec.js
+++ b/lib/shared/messages/update-relationship-message-spec.js
@@ -246,9 +246,13 @@
const viewerIsCreator = messageInfo.creator.isViewer;
if (viewerIsCreator) {
const otherUser = ET.user({ userInfo: messageInfo.target });
- return ET`${otherUser} is ${messageInfo.targetFID} on Farcaster`;
+ return ET`${otherUser} is ${ET.fcUser({
+ fid: messageInfo.targetFID,
+ })} on Farcaster`;
} else {
- return ET`${creator} is ${messageInfo.creatorFID} on Farcaster`;
+ return ET`${creator} is ${ET.fcUser({
+ fid: messageInfo.creatorFID,
+ })} on Farcaster`;
}
}
invariant(

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 23, 4:19 PM (19 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2695345
Default Alt Text
D11888.diff (892 B)

Event Timeline