feat: remove bbc splice

This commit is contained in:
DIYgod
2021-01-25 12:15:47 +08:00
parent 3f9154fb72
commit fdd383b353
+1 -1
View File
@@ -47,7 +47,7 @@ module.exports = async (ctx) => {
}
const items = await Promise.all(
feed.items.splice(0, 30).map(async (item) => {
feed.items.map(async (item) => {
const response = await got({
method: 'get',
url: item.link,