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 d1168df commit ab9a992Copy full SHA for ab9a992
src/resources/workers/scripts/versions.ts
@@ -31,7 +31,7 @@ export class Versions extends APIResource {
31
return (
32
this._client.post(
33
`/accounts/${account_id}/workers/scripts/${scriptName}/versions`,
34
- Core.multipartFormRequestOptions({ body, ...options }),
+ Core.multipartFormRequestOptions({ body, ...options, __multipartSyntax: 'json' }),
35
) as Core.APIPromise<{ result: VersionCreateResponse }>
36
)._thenUnwrap((obj) => obj.result);
37
}
0 commit comments