Skip to content

Commit 4304eff

Browse files
committed
add default querySerializer
1 parent f3947df commit 4304eff

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/kiln.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ export class Kiln {
1515
client: Client<paths>;
1616

1717
constructor({ apiToken, baseUrl }: Config) {
18-
const client = createClient<paths>({ baseUrl, headers: { Authorization: `Bearer ${apiToken}` } });
18+
const client = createClient<paths>({
19+
baseUrl,
20+
headers: { Authorization: `Bearer ${apiToken}` },
21+
querySerializer: { array: { explode: false, style: 'form' } },
22+
});
1923
this.fireblocks = new FireblocksService(client);
2024
this.client = client;
2125
}

0 commit comments

Comments
 (0)