fix(route/fediverse): Item link is empty (#16446)

This commit is contained in:
LandonLi 2024-08-14 21:12:18 +08:00 committed by GitHub
parent a19017abd4
commit 9c24b9d20d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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) => `<img src="${attachment.url}" width="${attachment.width}" height="${attachment.height}" />`).join('\n') || ''}`,
link: item.url,
link: item.object.url,
pubDate: parseDate(item.published),
guid: item.id,
})),