fix(api): align list defaults with backend page limits

This commit is contained in:
zetaloop
2026-04-24 08:55:48 +08:00
parent ff03532da4
commit 3b82602c38
10 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ type ActionResult = { decision: ApiDecision; order?: Order }
function withOffsetLimit(path: string, options?: ListOrdersOptions): string {
const offset = options?.offset ?? 0
const limit = options?.limit ?? 1000
const limit = options?.limit ?? 100
const searchParams = new URLSearchParams({
offset: String(offset),