mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
refactor: format
This commit is contained in:
@@ -47,7 +47,7 @@ module.exports = async (ctx) => {
|
||||
},
|
||||
headers: getCustomRequestHeaders(),
|
||||
});
|
||||
const books = response.data.data || {};
|
||||
const books = response.data.data || [];
|
||||
|
||||
const item = books
|
||||
.filter((item) => item.type === 'book')
|
||||
|
||||
Reference in New Issue
Block a user