Page MenuHomePhabricator

D12702.id42183.diff
No OneTemporary

D12702.id42183.diff

diff --git a/keyserver/src/creators/farcaster-channel-tag-creator.js b/keyserver/src/creators/farcaster-channel-tag-creator.js
--- a/keyserver/src/creators/farcaster-channel-tag-creator.js
+++ b/keyserver/src/creators/farcaster-channel-tag-creator.js
@@ -27,6 +27,7 @@
} from '../services/blob.js';
import { Viewer } from '../session/viewer.js';
import { thisKeyserverID } from '../user/identity.js';
+import { getAndAssertKeyserverURLFacts } from '../utils/urls.js';
async function createOrUpdateFarcasterChannelTag(
viewer: Viewer,
@@ -148,9 +149,13 @@
farcasterChannelID: string,
holder: string,
): Promise<BlobOperationResult> {
+ const { baseDomain, basePath } = getAndAssertKeyserverURLFacts();
+ const keyserverURL = baseDomain + basePath;
+
const payload = {
commCommunityID,
farcasterChannelID,
+ keyserverURL,
};
const payloadString = JSON.stringify(payload);

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 9, 4:23 AM (19 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2448593
Default Alt Text
D12702.id42183.diff (913 B)

Event Timeline