feat(route): refine category list for thepaper. (#13178)

* feat(route): refine category for thepaper.

* Update utils.js
This commit is contained in:
Andvari
2023-09-01 22:38:42 +08:00
committed by GitHub
parent 92bc237f63
commit f641a2ad7c
+1 -1
View File
@@ -52,7 +52,7 @@ module.exports = {
title: contentDetail.name || contentDetail.shareName,
link: itemUrl,
description,
category: contentDetail.tagList?.map((t) => t.tag) ?? [],
category: (contentDetail.tagList?.map((t) => t.tag) ?? []).concat(contentDetail?.nodeInfo?.name ?? []),
pubDate: parseDate(item.pubTimeLong || contentDetail.pubTime || contentDetail.publishTime),
author: contentDetail.author || '',
media: {