diff options
Diffstat (limited to 'app/workers/propagate_integration_inherit_worker.rb')
-rw-r--r-- | app/workers/propagate_integration_inherit_worker.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/propagate_integration_inherit_worker.rb b/app/workers/propagate_integration_inherit_worker.rb index ef3132202f6..40d67c6d3bf 100644 --- a/app/workers/propagate_integration_inherit_worker.rb +++ b/app/workers/propagate_integration_inherit_worker.rb @@ -11,9 +11,9 @@ class PropagateIntegrationInheritWorker integration = Service.find_by_id(integration_id) return unless integration - services = Service.where(id: min_id..max_id).by_type(integration.type).inherit_from_id(integration.id) + batch = Service.where(id: min_id..max_id).by_type(integration.type).inherit_from_id(integration.id) - BulkUpdateIntegrationService.new(integration, services).execute + BulkUpdateIntegrationService.new(integration, batch).execute end # rubocop: enable CodeReuse/ActiveRecord end |