fix(route/apnews): remove description (#14025)

This commit is contained in:
Andvari
2023-12-14 04:49:50 +08:00
committed by GitHub
parent 3f7c8d9d0a
commit cbd46f6ffc
+1 -1
View File
@@ -10,7 +10,7 @@ module.exports = async (ctx) => {
const $ = cheerio.load(response.data);
const items = await Promise.all(
$('.PagePromo-content')
$('.PagePromo-content bsp-custom-headline')
.get()
.slice(0, ctx.query.limit ? parseInt(ctx.query.limit) : Infinity)
.map((e) => ({