fix(xiaohongshu): user note link
This commit is contained in:
parent
d8b026f127
commit
d7939a62d9
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue