Skip to content

Commit 604fd01

Browse files
authored
fix: restore HTTP query parameter from 'pageSize' to 'size' (#82)
1 parent 15498f2 commit 604fd01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/hooks/useFetchData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export default function useFetchData<T>(
110110
status: getFirstOfArray(filter?.status) || undefined,
111111
tags: filter?.tags?.length ? filter.tags.join(",") : undefined,
112112
page: current - pageOffset,
113-
pageSize: pageSize, // Use camelCase for HTTP query params
113+
size: pageSize, // Use camelCase for HTTP query params
114114
}),
115115
...additionalPollingFuncs.map((func) => func()),
116116
];

0 commit comments

Comments
 (0)