Skip to content

Commit 542b16a

Browse files
fix: bedrock example code (#18544)
1 parent 7161429 commit 542b16a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/ai-gateway/providers/bedrock.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export default {
8989
response.headers.get("content-type")?.includes("application/json")
9090
) {
9191
const data = await response.json();
92-
return new Response(JSON.stringify(response));
92+
return new Response(JSON.stringify(data));
9393
} else {
9494
return new Response("Invalid response", { status: 500 });
9595
}

0 commit comments

Comments
 (0)