mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-24 23:42:40 +08:00
fix: parsing error (#3676)
This commit is contained in:
@@ -18,10 +18,9 @@ module.exports = async (ctx) => {
|
||||
version: '0.0.0.2',
|
||||
},
|
||||
});
|
||||
const data = JSON.parse(response.body.trim());
|
||||
|
||||
const result = await Promise.all(
|
||||
data.list.map(async (item) => {
|
||||
response.data.list.map(async (item) => {
|
||||
const link = item.url;
|
||||
const entity = {
|
||||
title: item.title,
|
||||
|
||||
Reference in New Issue
Block a user