mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-30 21:59:46 +02:00
fix: remove hardcoded limit in query params
This commit is contained in:
parent
3ec2d46051
commit
6b1317435a
3 changed files with 8 additions and 12 deletions
|
|
@ -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 ?? {}),
|
||||
},
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue