Browse Source

lint

pull/1934/head
Kat 3 years ago
parent
commit
79b597d28d
  1. 2
      app/services/exports/lettings_log_export_service.rb

2
app/services/exports/lettings_log_export_service.rb

@ -123,7 +123,7 @@ module Exports
if !full_update && recent_export
params = { from: recent_export.started_at, to: start_time }
LettingsLog.exportable.where("(updated_at >= :from AND updated_at <= :to) OR (values_updated_at IS NOT NULL AND values_updated_at >= :from AND values_updated_at <= :to)", params)
else
else
params = { to: start_time }
LettingsLog.exportable.where("updated_at <= :to", params)
end

Loading…
Cancel
Save