increase max pagination size from 199 to 200

This commit is contained in:
imperosol 2025-03-12 13:47:21 +01:00
parent d16237d015
commit 99e1318071

View File

@ -30,7 +30,7 @@ export const paginated = async <T>(
endpoint: PaginatedEndpoint<T>,
options?: PaginatedRequest,
): Promise<T[]> => {
const maxPerPage = 199;
const maxPerPage = 200;
const queryParams = options ?? ({} as PaginatedRequest);
queryParams.query = queryParams.query ?? {};
queryParams.query.page_size = maxPerPage;