Skip to content

Commit

Permalink
Added new option of qs module called commaRoundTrip that should fix i…
Browse files Browse the repository at this point in the history
…ssues with incorrect formatting arrays of length 1 (#138)
  • Loading branch information
amz-tools committed Jun 28, 2022
1 parent 791daef commit fef719d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1,244 deletions.
1 change: 1 addition & 0 deletions lib/Signer.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class Signer {
return encode_twice ? utils.encodeURIComponent(utils.encodeURIComponent(value)) : utils.encodeURIComponent(value);
},
arrayFormat:'comma',
commaRoundTrip:false,
sort:(a, b) => {
return a.localeCompare(b);
}
Expand Down
Loading

0 comments on commit fef719d

Please sign in to comment.