Skip to content

Commit

Permalink
fix: use whitelisted events to identify known_events
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed May 31, 2024
1 parent 46b2e54 commit 1e6f8eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def is_known_event(self, event):
"""
if "name" in event:
for processor in self.engine.processors:
if event["name"] in processor.registry.mapping:
if event["name"] in processor.whitelist:
return True
return False

Expand Down

0 comments on commit 1e6f8eb

Please sign in to comment.