From 7a7309ca1eca9488ad5f4033d21ceb043bf79034 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=BF=9C=E6=B5=85?=
<14177215+unliar@users.noreply.github.com>
Date: Wed, 11 Sep 2024 20:26:53 +0800
Subject: [PATCH] fix(xiaohongshu): guid rule (#16701)
---
lib/routes/xiaohongshu/user.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/routes/xiaohongshu/user.ts b/lib/routes/xiaohongshu/user.ts
index 6284f209bddc1b..c73b381606010e 100644
--- a/lib/routes/xiaohongshu/user.ts
+++ b/lib/routes/xiaohongshu/user.ts
@@ -51,7 +51,7 @@ async function handler(ctx) {
n.map(({ id, noteCard }) => ({
title: noteCard.displayTitle,
link: `${url}/${noteCard.noteId || id}`,
- guid: noteCard.noteId || id || noteCard.cover?.infoList?.[0]?.url || noteCard.displayTitle,
+ guid: noteCard.noteId || id || noteCard.displayTitle,
description: `
${noteCard.displayTitle}`,
author: noteCard.user.nickname,
upvotes: noteCard.interactInfo.likedCount,