Skip to content

Commit

Permalink
Fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
epeters3 committed Jul 13, 2023
1 parent a558691 commit e6cd462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const stream = new DynamoStreamHandler({
logger,
parse: (item) => {
// parse the item using your custom logic, e.g. using zod or ajv.
return { id: object.id };
return { id: item.id };
},
createRunContext: () => {
/* ... create the "context", e.g. data sources ... */
Expand Down

0 comments on commit e6cd462

Please sign in to comment.