1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-14 00:19:16 +01:00

fix: increase page size in backend to 100 (#5669)

This commit is contained in:
Jaanus Sellin 2023-12-18 14:18:05 +02:00 committed by GitHub
parent 00ed539c19
commit 4af0abc6c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,7 +105,7 @@ export default class FeatureSearchController extends Controller {
['enabled', 'disabled'].includes(tag[1]),
);
const normalizedLimit =
Number(limit) > 0 && Number(limit) <= 50 ? Number(limit) : 50;
Number(limit) > 0 && Number(limit) <= 50 ? Number(limit) : 100;
const normalizedOffset = Number(offset) > 0 ? Number(offset) : 0;
const normalizedSortBy: string = sortBy ? sortBy : 'createdAt';
const normalizedSortOrder =