This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

refactor: update collection publisher to return record details from putRecord response

Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>

+7 -2
+7 -2
src/modules/atproto/infrastructure/publishers/ATProtoCollectionPublisher.ts
··· 72 72 const atUri = strongRef.atUri; 73 73 const rkey = atUri.rkey; 74 74 75 - await agent.com.atproto.repo.putRecord({ 75 + const updateResult = await agent.com.atproto.repo.putRecord({ 76 76 repo: curatorDid.value, 77 77 collection: this.collectionCollection, 78 78 rkey: rkey, 79 79 record: collectionRecordDTO, 80 80 }); 81 81 82 - return ok(collection.publishedRecordId); 82 + return ok( 83 + PublishedRecordId.create({ 84 + uri: updateResult.data.uri, 85 + cid: updateResult.data.cid, 86 + }), 87 + ); 83 88 } else { 84 89 // Create new collection record 85 90 const collectionRecordDTO =