Skip to content

Commit

Permalink
🐞 fix: 修复 知乎日报 异常 #80
Browse files Browse the repository at this point in the history
  • Loading branch information
imsyy committed Oct 15, 2024
1 parent c713d34 commit ec50d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/zhihu-daily.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ec50d5c

Please sign in to comment.