Skip to content

Commit

Permalink
fix: render error snippet without json wrapper (#1647)
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity authored Oct 10, 2024
1 parent aa69da4 commit 912cb55
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ const UnmemoizedEndpointContentCodeSnippets: React.FC<EndpointContentCodeSnippet
e.stopPropagation();
}}
hoveredPropertyPath={hoveredResponsePropertyPath}
json={selectedErrorExample?.responseBody ?? EMPTY_OBJECT}
json={selectedErrorExample?.responseBody.value ?? EMPTY_OBJECT}
intent={statusCodeToIntent(selectedError.statusCode)}
/>
)}
Expand Down

0 comments on commit 912cb55

Please sign in to comment.