Skip to content

Commit

Permalink
Fixes the non-working query parameter when it's a Enum
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanVas committed Nov 29, 2024
1 parent 19e2141 commit e00f574
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,7 @@ export class {{classname}}RequestFactory extends BaseAPIRequestFactory {
}
{{/isArray}}
{{^isArray}}
for (const key of Object.keys(serializedParams)) {
requestContext.setQueryParam(key, serializedParams[key]);
}
requestContext.setQueryParam("{{baseName}}", serializedParams);
{{/isArray}}
{{/isExplode}}
{{^isExplode}}
Expand Down

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

0 comments on commit e00f574

Please sign in to comment.