Skip to content

Commit

Permalink
More checks for update attribute (#2442)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Tideman authored Nov 26, 2024
1 parent e5235bf commit 7f570dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/utilities/get-single-attribute-for-event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ export const getEventSummaryAttribute = (
}

if (isWorkflowExecutionUpdateAcceptedEvent(event)) {
if (event.attributes.acceptedRequest.input?.name) {
if (event.attributes?.acceptedRequest?.input?.name) {
return {
key: 'name',
value: event.attributes.acceptedRequest.input.name,
Expand Down

0 comments on commit 7f570dd

Please sign in to comment.