Skip to content

Commit 30b246f

Browse files
committed
fix: pass in endpoint.protocol whenever calling serializeFormStateBody
1 parent 71d6492 commit 30b246f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/fern-docs/bundle/src/components/playground/endpoint/PlaygroundEndpoint.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ export const PlaygroundEndpoint = ({
141141
shape: endpoint.requests?.[0]?.body,
142142
body: formState.body,
143143
usesApplicationJsonInFormDataValue,
144+
protocol: endpoint.protocol,
144145
}),
145146
};
146147
if (endpoint.responses?.[0]?.body.type === "stream") {

0 commit comments

Comments
 (0)