Browse Source

remove superfluous private method

pull/1091/head
Phil Lee 3 years ago
parent
commit
9ef078f6ad
  1. 6
      app/models/forms/bulk_upload_sales/upload_your_file.rb

6
app/models/forms/bulk_upload_sales/upload_your_file.rb

@ -47,12 +47,8 @@ module Forms
private private
def upload_enabled?
FeatureToggle.upload_enabled?
end
def storage_service def storage_service
@storage_service ||= if upload_enabled? @storage_service ||= if FeatureToggle.upload_enabled?
Storage::S3Service.new( Storage::S3Service.new(
Configuration::PaasConfigurationService.new, Configuration::PaasConfigurationService.new,
ENV["CSV_DOWNLOAD_PAAS_INSTANCE"], ENV["CSV_DOWNLOAD_PAAS_INSTANCE"],

Loading…
Cancel
Save