mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-29 19:06:24 +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
|
// Atom to store current query params for search spaces
|
||||||
export const searchSpacesQueryParamsAtom = atom<GetSearchSpacesRequest["queryParams"]>({
|
export const searchSpacesQueryParamsAtom = atom<GetSearchSpacesRequest["queryParams"]>({
|
||||||
page: 0,
|
skip: 0,
|
||||||
page_size: 10,
|
limit: 10,
|
||||||
|
owned_only: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
// Query atom to fetch search spaces with query params
|
// Query atom to fetch search spaces with query params
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue