chore(cli): rebuild dist for search[] tuple fix

This commit is contained in:
yeuimu
2026-08-07 18:44:54 +00:00
parent e5975fe5bc
commit aff4d70b71
+5
View File
@@ -98,6 +98,11 @@ class Client {
else if (typeof v === 'object') {
out[k] = JSON.stringify(v);
}
else if (k === 'search' && typeof v === 'string') {
// The records list API expects `search[]=value` (tuple), not a plain
// `search=value` string. https://github.com/colinhacks/zod
out['search[]'] = v;
}
else {
out[k] = String(v);
}