Commit 62e98f89f6350f05d4545be29afb1359625e21bc

Authored by Andrew Kane
1 parent 5641b80d

Removed id from bulk notifications [skip ci]

Showing 1 changed file with 0 additions and 2 deletions   Show diff stats
lib/searchkick/index.rb
@@ -419,8 +419,6 @@ module Searchkick @@ -419,8 +419,6 @@ module Searchkick
419 name: "#{records.first.searchkick_klass.name} #{name}", 419 name: "#{records.first.searchkick_klass.name} #{name}",
420 count: records.size 420 count: records.size
421 } 421 }
422 - # TODO remove  
423 - event[:id] = search_id(records.first) if records.size == 1  
424 ActiveSupport::Notifications.instrument("request.searchkick", event) do 422 ActiveSupport::Notifications.instrument("request.searchkick", event) do
425 yield 423 yield
426 end 424 end