WIP PWA for Grain
0
fork

Configure Feed

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

fix: use grain profile instead of bsky profile for actor chips

Changed from appBskyActorProfileByDid to socialGrainActorProfileByDid
in timeline and gallery detail queries.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

+4 -4
+4 -4
src/services/grain-api.js
··· 18 18 description 19 19 createdAt 20 20 actorHandle 21 - appBskyActorProfileByDid { 21 + socialGrainActorProfileByDid { 22 22 avatar { url } 23 23 displayName 24 24 } ··· 62 62 63 63 const galleries = connection.edges.map(edge => { 64 64 const node = edge.node; 65 - const profile = node.appBskyActorProfileByDid; 65 + const profile = node.socialGrainActorProfileByDid; 66 66 const items = node.socialGrainGalleryItemViaGallery?.edges || []; 67 67 68 68 const photos = items ··· 224 224 title 225 225 description 226 226 createdAt 227 - appBskyActorProfileByDid { 227 + socialGrainActorProfileByDid { 228 228 displayName 229 229 avatar { url(preset: "avatar") } 230 230 } ··· 271 271 throw new Error('Gallery not found'); 272 272 } 273 273 274 - const profile = galleryNode.appBskyActorProfileByDid; 274 + const profile = galleryNode.socialGrainActorProfileByDid; 275 275 276 276 const photos = galleryNode.socialGrainGalleryItemViaGallery?.edges 277 277 ?.map(edge => edge.node?.itemResolved)