fix(route/apnews): remove description (#14025)
This commit is contained in:
@@ -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) => ({
|
||||
|
||||
Reference in New Issue
Block a user