Skip to content

Commit

Permalink
fix: fix bug in ai generator python template
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethBWSong committed Aug 12, 2024
1 parent 6f0d7ca commit f1fd978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fx-core/src/component/generator/apiSpec/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ async def {{operationId}}(
):
parameters = context.data
path = parameters.get("path", {})
body = parameters.get("body", {})
body = parameters.get("body", None)
query = parameters.get("query", {})
resp = client.{{operationId}}(**path, json=body, _headers={}, _params=query, _cookies={})
Expand Down

0 comments on commit f1fd978

Please sign in to comment.