Skip to content

Commit

Permalink
fix rubocop linting. #1168
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Dec 14, 2020
1 parent adf7934 commit 23dff42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/concerns/indexable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1219,7 +1219,7 @@ def delete_by_query(options = {})

client = Elasticsearch::Model.client
response =
client.delete_by_query(index: options[:index], body: { query: { query_string: { query: options[:query] }}})
client.delete_by_query(index: options[:index], body: { query: { query_string: { query: options[:query] } } })

if response.to_h["deleted"]
"Deleted #{response.to_h['deleted'].to_i} DOIs."
Expand Down

0 comments on commit 23dff42

Please sign in to comment.