Skip to content

Commit

Permalink
Fix _isValidMessage check
Browse files Browse the repository at this point in the history
  • Loading branch information
bryophyta committed Dec 11, 2024
1 parent 64e8f26 commit 0f414f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pluto-message-ingestion/pluto-message-processor.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class PlutoMessageProcessor {
'created'
]);

const messageKeys = new Set([Object.keys(message)]);
const messageKeys = new Set(Object.keys(message));

const diff = new Set(
[...requiredKeys].filter(key => !messageKeys.has(key))
Expand Down

0 comments on commit 0f414f9

Please sign in to comment.