fix(route): fix nikkei-asia (#10835)
* fix nikkei-asia * style: auto format Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
github-actions[bot]
parent
4322c5e36c
commit
d863993e20
@@ -10,7 +10,7 @@ module.exports = async (ctx) => {
|
||||
url: currentUrl,
|
||||
});
|
||||
|
||||
const stories = response.data.stories;
|
||||
const stories = response.data.stories.filter((story) => story.type === 'article');
|
||||
|
||||
const items = await Promise.all(
|
||||
stories.map((item) =>
|
||||
|
||||
Reference in New Issue
Block a user