diff --git a/api/so/sprk/feed/getActorLikes.ts b/api/so/sprk/feed/getActorLikes.ts index 1239b0f..d8e4833 100644 --- a/api/so/sprk/feed/getActorLikes.ts +++ b/api/so/sprk/feed/getActorLikes.ts @@ -63,7 +63,7 @@ const skeleton = async (inputs: { const likesRes = await ctx.dataplane.likes.getActor(actorDid, limit, cursor); - const items = likesRes.likes.map((l) => ({ post: { uri: l.uri } })); + const items = likesRes.likes.map((l) => ({ post: { uri: l.subject } })); return { items, diff --git a/api/so/sprk/feed/getActorReposts.ts b/api/so/sprk/feed/getActorReposts.ts index f5bfcbe..93bf2f1 100644 --- a/api/so/sprk/feed/getActorReposts.ts +++ b/api/so/sprk/feed/getActorReposts.ts @@ -67,7 +67,7 @@ const skeleton = async (inputs: { cursor, ); - const items = repostsRes.reposts.map((r) => ({ post: { uri: r.uri } })); + const items = repostsRes.reposts.map((r) => ({ post: { uri: r.subject } })); return { actorDid,