Skip to content

Commit

Permalink
bsky: include takedowns properly on follow endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
devinivy committed Mar 7, 2024
1 parent f192b97 commit 6a0ab39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/bsky/src/api/app/bsky/graph/getFollowers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ const hydration = async (
const profileState = await ctx.hydrator.hydrateProfiles(
dids,
params.hydrateCtx,
params.canViewTakedowns,
)
return mergeStates(followState, profileState)
}
Expand Down
1 change: 1 addition & 0 deletions packages/bsky/src/api/app/bsky/graph/getFollows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ const hydration = async (
const profileState = await ctx.hydrator.hydrateProfiles(
dids,
params.hydrateCtx,
params.canViewTakedowns,
)
return mergeStates(followState, profileState)
}
Expand Down

0 comments on commit 6a0ab39

Please sign in to comment.