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 c539f85
Showing 1 changed file with 1 addition and 3 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

0 comments on commit c539f85

Please sign in to comment.