fix: remove hardcoded limit in query params

This commit is contained in:
CREDO23 2025-12-29 17:23:31 +02:00
parent 3ec2d46051
commit 6b1317435a
3 changed files with 8 additions and 12 deletions

View file

@ -93,16 +93,12 @@ export function useLogs(searchSpaceId?: number, filters: LogFilters = {}) {
} = useQuery({
queryKey: cacheKeys.logs.withQueryParams({
search_space_id: searchSpaceId,
skip: 0,
limit: 5,
...buildQueryParams(filters ?? {}),
}),
queryFn: () =>
logsApiService.getLogs({
queryParams: {
search_space_id: searchSpaceId,
skip: 0,
limit: 5,
...buildQueryParams(filters ?? {}),
},
}),