chore(cli): rebuild dist for search[] tuple fix
This commit is contained in:
Vendored
+5
@@ -98,6 +98,11 @@ class Client {
|
|||||||
else if (typeof v === 'object') {
|
else if (typeof v === 'object') {
|
||||||
out[k] = JSON.stringify(v);
|
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 {
|
else {
|
||||||
out[k] = String(v);
|
out[k] = String(v);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user