From ec50d5ced1216137e15db65717be0c7332568554 Mon Sep 17 00:00:00 2001 From: imsyy Date: Tue, 15 Oct 2024 17:24:53 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E4=BF=AE=E5=A4=8D=20?= =?UTF-8?q?=E7=9F=A5=E4=B9=8E=E6=97=A5=E6=8A=A5=20=E5=BC=82=E5=B8=B8=20#80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/zhihu-daily.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/zhihu-daily.ts b/src/routes/zhihu-daily.ts index 08aa667..779ef6a 100644 --- a/src/routes/zhihu-daily.ts +++ b/src/routes/zhihu-daily.ts @@ -35,7 +35,7 @@ const getList = async (noCache: boolean) => { data: list.map((v: RouterType["zhihu-daily"]) => ({ id: v.id, title: v.title, - cover: v.images[0], + cover: v.images?.[0] ?? null, author: v.hint, hot: null, timestamp: null,