mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-29 02:46:25 +02:00
fix(search-spaces): correct pagination params to use skip/limit instead of page/page_size
This commit is contained in:
parent
58a14f422d
commit
b4874111e2
1 changed files with 3 additions and 2 deletions
|
|
@ -6,8 +6,9 @@ import { cacheKeys } from "@/lib/query-client/cache-keys";
|
|||
|
||||
// Atom to store current query params for search spaces
|
||||
export const searchSpacesQueryParamsAtom = atom<GetSearchSpacesRequest["queryParams"]>({
|
||||
page: 0,
|
||||
page_size: 10,
|
||||
skip: 0,
|
||||
limit: 10,
|
||||
owned_only: false,
|
||||
});
|
||||
|
||||
// Query atom to fetch search spaces with query params
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue