Skip to content

Commit 9fd0795

Browse files
committed
fix: diagnostics in error response
1 parent fb774c5 commit 9fd0795

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/cdkConstructs/src/constructs/RestApiGateway/templates/stateMachineResponses.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const getOperationOutcome = (status: string) => {
4242
{
4343
code: errorMap[status].code,
4444
severity: errorMap[status].severity,
45-
diagnostics: errorMap[status],
45+
diagnostics: errorMap[status].diagnostics,
4646
details: {
4747
coding: [
4848
{

0 commit comments

Comments
 (0)