rss: fix format

This commit is contained in:
DIYgod 2018-05-21 19:03:02 +08:00
parent 677b4000ff
commit 1adeb4edc6
No known key found for this signature in database
GPG Key ID: EC0B76A252D3EF67
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ module.exports = async (ctx) => {
'User-Agent': config.ua,
Referer: `https://space.bilibili.com/${uid}/`,
},
transformResponse: [data => data],
transformResponse: [(data) => data],
});
const data = JSONbig.parse(response.data).data.cards;