Skip to content

Commit

Permalink
fix(xiaohongshu): user note link
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Sep 8, 2024
1 parent d8b026f commit d7939a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/routes/xiaohongshu/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d7939a6

Please sign in to comment.