From 9c24b9d20d84d7aa2156b56edd470623e3e55165 Mon Sep 17 00:00:00 2001 From: LandonLi Date: Wed, 14 Aug 2024 21:12:18 +0800 Subject: [PATCH] fix(route/fediverse): Item link is empty (#16446) --- lib/routes/fediverse/timeline.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/fediverse/timeline.ts b/lib/routes/fediverse/timeline.ts index 35e34ba0826395..ed3e355fc2f675 100644 --- a/lib/routes/fediverse/timeline.ts +++ b/lib/routes/fediverse/timeline.ts @@ -90,7 +90,7 @@ async function handler(ctx) { item: resolvedItems.map((item) => ({ title: item.object.content, description: `${item.object.content}\n${item.object.attachment?.map((attachment) => ``).join('\n') || ''}`, - link: item.url, + link: item.object.url, pubDate: parseDate(item.published), guid: item.id, })),