Skip to content

Commit

Permalink
Add ems_ref to filter duplicate events
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyMenezes committed Oct 3, 2017
1 parent 9f21c62 commit 6821e1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/ems_event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ def self.create_event(event)
:ems_id => event[:ems_id],
:target_id => event[:target_id],
:target_type => event[:target_type],
:ems_ref => event[:ems_ref],
)
new_event.handle_event if new_event
new_event
Expand Down

0 comments on commit 6821e1c

Please sign in to comment.