fix(api): align list defaults with backend page limits
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ type Paginated<T> = {
|
||||
}
|
||||
|
||||
export async function listShops(): Promise<Shop[]> {
|
||||
const res = await httpJson<Paginated<Shop>>("/api/v1/shops?offset=0&limit=1000", {
|
||||
const res = await httpJson<Paginated<Shop>>("/api/v1/shops?offset=0&limit=100", {
|
||||
cache: "no-store",
|
||||
})
|
||||
return res.items
|
||||
|
||||
Reference in New Issue
Block a user