fix(route/the): Adjust default limit to get the latest articles (#17171)

This commit is contained in:
Andvari
2024-10-17 07:05:56 -07:00
committed by GitHub
parent 65114a5b41
commit c986500e2d
+1 -1
View File
@@ -13,7 +13,7 @@ import timezone from '@/utils/timezone';
export const handler = async (ctx) => {
const { filter } = ctx.req.param();
const limit = ctx.req.query('limit') ? Number.parseInt(ctx.req.query('limit'), 10) : 50;
const limit = ctx.req.query('limit') ? Number.parseInt(ctx.req.query('limit'), 10) : 40;
const rootUrl = 'https://the.bi/s';
const filters = parseFilterStr(filter);