Skip to content

Commit 6f9dd42

Browse files
committed
Fix body passing for OpenAPI tool
1 parent e626ef0 commit 6f9dd42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export async function performOpenApiAction(
113113
body:
114114
request.method.toLowerCase() === OpenAPIV3.HttpMethods.GET
115115
? undefined
116-
: JSON.stringify(actionParams),
116+
: JSON.stringify(actionParams.body),
117117
});
118118
await handleResponseErrors(response);
119119
return await response.text();

0 commit comments

Comments
 (0)