mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-24 23:42:40 +08:00
fix(route/1point3acres): handle optional tags in category assignment (#20547)
This commit is contained in:
@@ -43,7 +43,7 @@ const ProcessThreads = async (tryGet, apiUrl, order) => {
|
||||
link: `${rootUrl}/thread/${item.tid}`,
|
||||
description: item.summary,
|
||||
pubDate: parseDate((order === '' ? item.lastpost : item.dateline) * 1000),
|
||||
category: [item.forum_name, ...item.tags.map((t) => t.displayname)],
|
||||
category: [item.forum_name, ...(item.tags ? item.tags.map((t) => t.displayname) : [])],
|
||||
};
|
||||
|
||||
return tryGet(result.link, async () => {
|
||||
|
||||
Reference in New Issue
Block a user