mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix: zhihu/zhuanlan (#205)
* fix: zhihu/zhuanlan fix #201 * Update zhuanlan.js
This commit is contained in:
@@ -21,8 +21,8 @@ module.exports = async (ctx) => {
|
||||
},
|
||||
});
|
||||
|
||||
const list = listRes.data;
|
||||
const info = infoRes.data;
|
||||
const list = listRes.data || [];
|
||||
const info = infoRes.data || {};
|
||||
|
||||
ctx.state.data = {
|
||||
title: `知乎专栏-${info.name}`,
|
||||
|
||||
Reference in New Issue
Block a user