From 250e6495bccec283980b70d41bda9ca3a782802a Mon Sep 17 00:00:00 2001 From: Roscoe Rubin-Rottenberg Date: Thu, 8 Jan 2026 13:06:40 -0500 Subject: [PATCH] fix(feed): getActorLikes & Reposts subject uri --- api/so/sprk/feed/getActorLikes.ts | 2 +- api/so/sprk/feed/getActorReposts.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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, -- 2.51.2