We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b17b49b commit 4acc802Copy full SHA for 4acc802
packages/core/functions-js/src/FunctionsClient.ts
@@ -89,6 +89,9 @@ export class FunctionsClient {
89
_headers['Content-Type'] = 'application/json'
90
body = JSON.stringify(functionArgs)
91
}
92
+ } else {
93
+ // if the Content-Type was supplied, simply set the body
94
+ body = functionArgs
95
96
97
const response = await this.fetch(url.toString(), {
0 commit comments