From 6821e1c0f18bc6a715cc8196850e0ac62f2015b0 Mon Sep 17 00:00:00 2001 From: Andrey Menezes Date: Tue, 3 Oct 2017 12:13:44 -0300 Subject: [PATCH] Add ems_ref to filter duplicate events --- app/models/ems_event.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/ems_event.rb b/app/models/ems_event.rb index f9bffac0b75..60d635a7fe1 100644 --- a/app/models/ems_event.rb +++ b/app/models/ems_event.rb @@ -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