[SDK] Validate and brand the persisted account did (#11387)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -75,7 +75,6 @@ export function StarterPackCard({
|
||||
let followUris: Map<string, string>
|
||||
try {
|
||||
followUris = await bulkWriteFollows(pdsClient, appviewClient, dids, {
|
||||
// the starter pack view is still legacy-typed
|
||||
uri: view.uri,
|
||||
cid: view.cid,
|
||||
})
|
||||
|
||||
@@ -21,7 +21,7 @@ export async function bulkWriteFollows(
|
||||
const followRecords: $Typed<app.bsky.graph.follow.Main>[] = dids.map(did => {
|
||||
return {
|
||||
$type: 'app.bsky.graph.follow',
|
||||
// callers hold plain dids read off legacy-typed views
|
||||
// the helper takes the dids as plain strings
|
||||
subject: did as DidString,
|
||||
createdAt: toDatetimeString(new Date()),
|
||||
via,
|
||||
|
||||
Reference in New Issue
Block a user