diff --git a/lib/v2/wallstreetcn/live.js b/lib/v2/wallstreetcn/live.js index 09a53840c..903077f0f 100644 --- a/lib/v2/wallstreetcn/live.js +++ b/lib/v2/wallstreetcn/live.js @@ -26,23 +26,23 @@ module.exports = async (ctx) => { }); const items = response.data.data.items - .filter(item => item.score >= score) - .map((item) => { - let author; - try { - author = item.author.display_name; - } catch (e) { - author = ''; - } + .filter((item) => item.score >= score) + .map((item) => { + let author; + try { + author = item.author.display_name; + } catch (e) { + author = ''; + } - return { - link: item.uri, - title: item.title || item.content_text, - description: item.content, - pubDate: parseDate(item.display_time * 1000), - author, - }; - }); + return { + link: item.uri, + title: item.title || item.content_text, + description: item.content, + pubDate: parseDate(item.display_time * 1000), + author, + }; + }); ctx.state.data = { title: `${titles[category]} - 实时快讯 - 华尔街见闻`,