diff --git a/app/jobs/decidim/navigation_maps/migrate_legacy_images_job.rb b/app/jobs/decidim/navigation_maps/migrate_legacy_images_job.rb index 25ddf47..b22a33c 100644 --- a/app/jobs/decidim/navigation_maps/migrate_legacy_images_job.rb +++ b/app/jobs/decidim/navigation_maps/migrate_legacy_images_job.rb @@ -19,9 +19,9 @@ def perform(organization_id, mappings = [], logger = Rails.logger) def migrate_all! Decidim::CarrierWaveMigratorService.migrate_attachment!( - klass: Decidim::NavigationMaps::BluePrint, + klass: Decidim::NavigationMaps::Blueprint, cw_attribute: "image", - cw_uploader: Decidim::NavigationMaps::Cw::ImageUploader, + cw_uploader: Decidim::NavigationMaps::Cw::BlueprintUploader, as_attribute: "image", logger: @logger, routes_mappings: routes_mappings