fix(route/apnews): remove description (#14025)
This commit is contained in:
parent
3f7c8d9d0a
commit
cbd46f6ffc
|
|
@ -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) => ({
|
||||
|
|
|
|||
Loading…
Reference in New Issue