Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

fixed array values parse in queryParamParsers.ts #20

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
205 changes: 77 additions & 128 deletions packages/sdk-api/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/sdk-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"prettier": "^2.1.1",
"standard-version": "^9.0.0",
"ts-jest": "^26.5.6",
"ts-node": "^9.0.0",
"ts-node": "^10.9.1",
"typedoc": "^0.23.22",
"typescript": "^4.9.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-api/src/queryParamParsers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const queryParameter: QueryParamParser = (paramName, p) => {

Object.entries(p).forEach(([k, v]) => {
const key = `${paramName}.${k}`;
mainParamsObj[key] = v;
mainParamsObj[key] = Array.isArray(v) ? v.join(',') : v; // oazapfts explode
});

return mainParamsObj;
Expand Down