Skip to content

Commit

Permalink
fix small oversight
Browse files Browse the repository at this point in the history
  • Loading branch information
DGaffney committed Sep 14, 2023
1 parent 142869b commit 7a77932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/bot/fetch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def self.import_claim_reviews(installation_id, language = nil, force = false, ma
(from.to_i..to.to_i).step(step.days).each do |current_timestamp|
from2 = Time.at(current_timestamp)
to2 = from2 + step.days
params = { service: service_name, start_time: from2.strftime('%Y-%m-%d'), end_time: to2.strftime('%Y-%m-%d'), language: language}
params = { service: service_name, start_time: from2.strftime('%Y-%m-%d'), end_time: to2.strftime('%Y-%m-%d')}
params[:language] = language if !language.nil?
Bot::Fetch.get_claim_reviews(params).each do |claim_review|
next if !maximum.nil? && total >= maximum
Expand Down

0 comments on commit 7a77932

Please sign in to comment.