diff options
Diffstat (limited to 'app/services/bulk_create_integration_service.rb')
-rw-r--r-- | app/services/bulk_create_integration_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/bulk_create_integration_service.rb b/app/services/bulk_create_integration_service.rb index ae756d0856e..adb989be218 100644 --- a/app/services/bulk_create_integration_service.rb +++ b/app/services/bulk_create_integration_service.rb @@ -10,7 +10,7 @@ class BulkCreateIntegrationService def execute service_list = ServiceList.new(batch, service_hash, association).to_array - Service.transaction do + Integration.transaction do results = bulk_insert(*service_list) if integration.data_fields_present? |