Skip to content

Commit

Permalink
fix build err in hydrator
Browse files Browse the repository at this point in the history
  • Loading branch information
dholms committed Mar 12, 2024
1 parent 8a4f668 commit 77a2f18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/bsky/src/hydration/hydrator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ export class Hydrator {
] = await Promise.all([
this.feed.getPostAggregates(refs),
ctx.viewer ? this.feed.getPostViewerStates(refs, ctx.viewer) : undefined,
this.label.getLabelsForSubjects(allPostUris, ctx.labelers.dids),
this.label.getLabelsForSubjects(allPostUris, ctx.labelers),
this.hydratePostBlocks(posts),
this.hydrateProfiles(allPostUris.map(didFromUri), ctx),
this.hydrateLists([...nestedListUris, ...gateListUris], ctx),
Expand Down Expand Up @@ -501,7 +501,7 @@ export class Hydrator {
this.feed.getLikes(likeUris), // reason: like
this.feed.getReposts(repostUris), // reason: repost
this.graph.getFollows(followUris), // reason: follow
this.label.getLabelsForSubjects(uris, ctx.labelers.dids),
this.label.getLabelsForSubjects(uris, ctx.labelers),
this.hydrateProfiles(uris.map(didFromUri), ctx),
])
actionTakedownLabels(postUris, posts, labels)
Expand Down

0 comments on commit 77a2f18

Please sign in to comment.