fix(xiaohongshu): user note link

This commit is contained in:
DIYgod 2024-09-08 23:49:26 +08:00
parent d8b026f127
commit d7939a62d9
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

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,