mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-25 16:04:01 +00:00
Fix a query formatting issue (#2142)
This commit is contained in:
parent
8d6a454996
commit
7bf92c8b81
@ -15,6 +15,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^16.0.0",
|
||||
"@types/qs": "^6.9.7",
|
||||
"jest-extended": "^0.11.5",
|
||||
"rollup": "^2.47.0",
|
||||
"rollup-plugin-typescript2": "^0.30.0",
|
||||
|
||||
@ -42,7 +42,7 @@ export type DefaultRequestReturn = {
|
||||
export function formatQuery(params: Record<string, unknown> = {}): string {
|
||||
const decamelized = decamelizeKeys(params);
|
||||
|
||||
return stringify(decamelized, { arrayFormat: 'bracket' });
|
||||
return stringify(decamelized, { arrayFormat: 'brackets' });
|
||||
}
|
||||
|
||||
export type OptionsHandlerFn = (
|
||||
|
||||
@ -1903,6 +1903,11 @@
|
||||
resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.2.3.tgz#ef65165aea2924c9359205bf748865b8881753c0"
|
||||
integrity sha512-PijRCG/K3s3w1We6ynUKdxEc5AcuuH3NBmMDP8uvKVp6X43UY7NQlTzczakXP3DJR0F4dfNQIGjU2cUeRYs2AA==
|
||||
|
||||
"@types/qs@^6.9.7":
|
||||
version "6.9.7"
|
||||
resolved "https://registry.nlark.com/@types/qs/download/@types/qs-6.9.7.tgz#63bb7d067db107cc1e457c303bc25d511febf6cb"
|
||||
integrity sha1-Y7t9Bn2xB8weRXwwO8JdUR/r9ss=
|
||||
|
||||
"@types/resolve@1.17.1":
|
||||
version "1.17.1"
|
||||
resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.17.1.tgz#3afd6ad8967c77e4376c598a82ddd58f46ec45d6"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user