Skip to content

Commit

Permalink
fix: missing id in events (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
thantos authored Jan 27, 2023
1 parent c94ee80 commit 9eee09d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ export class AWSExecutionHistoryStore extends ExecutionHistoryStore {
ConsistentRead: true,
}
);
const events = output.records.map(({ event, time }) => ({
const events = output.records.map(({ event, time, id }) => ({
...JSON.parse(event!.S!),
...(id ? { id: id?.S } : {}),
timestamp: time!.S,
}));

Expand Down

0 comments on commit 9eee09d

Please sign in to comment.