Commit 62e98f89f6350f05d4545be29afb1359625e21bc
1 parent
5641b80d
Exists in
master
and in
2 other branches
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 | 419 | name: "#{records.first.searchkick_klass.name} #{name}", |
420 | 420 | count: records.size |
421 | 421 | } |
422 | - # TODO remove | |
423 | - event[:id] = search_id(records.first) if records.size == 1 | |
424 | 422 | ActiveSupport::Notifications.instrument("request.searchkick", event) do |
425 | 423 | yield |
426 | 424 | end | ... | ... |