Skip to content

Commit

Permalink
fix(client): fix array query param serialization (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot authored and cleb11 committed Aug 15, 2023
1 parent a8a1a87 commit c091449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ export class ModernTreasury extends Core.APIClient {
}

protected override stringifyQuery(query: Record<string, unknown>): string {
return qs.stringify(query, {});
return qs.stringify(query, { arrayFormat: 'brackets' });
}

static ModernTreasury = this;
Expand Down

0 comments on commit c091449

Please sign in to comment.