Skip to content

Commit

Permalink
fix: invalid property in handleNoProcess
Browse files Browse the repository at this point in the history
  • Loading branch information
ShyykoSerhiy authored Jul 29, 2020
1 parent 6b53c36 commit 6a1e617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/example/sample-deaggregation.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var handleNoProcess = function(event, callback) {
noProcessReason = "Event contains no Data";
}
if (event.Records[0].eventSource !== "aws:kinesis") {
noProcessReason = "Invalid Event Source " + event.eventSource;
noProcessReason = "Invalid Event Source " + event.Records[0].eventSource;
}
if (event.Records[0].kinesis.kinesisSchemaVersion !== "1.0") {
noProcessReason = "Unsupported Event Schema Version " + event.Records[0].kinesis.kinesisSchemaVersion;
Expand Down

0 comments on commit 6a1e617

Please sign in to comment.