fix(xiaohongshu): user note link

This commit is contained in:
DIYgod
2024-09-08 23:49:26 +08:00
parent d8b026f127
commit d7939a62d9
+1 -1
View File
@@ -50,7 +50,7 @@ async function handler(ctx) {
notes.flatMap((n) =>
n.map(({ noteCard }) => ({
title: noteCard.displayTitle,
link: `${url}/${noteCard.noteId}`,
link: `${url}/${noteCard.noteId || noteCard.id}`,
description: `<img src ="${noteCard.cover.infoList.pop().url}"><br>${noteCard.displayTitle}`,
author: noteCard.user.nickname,
upvotes: noteCard.interactInfo.likedCount,