Skip to content

Commit

Permalink
Update migrate_legacy_images_job.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
microstudi authored Apr 8, 2022
1 parent de05074 commit 6ac6ece
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/jobs/decidim/navigation_maps/migrate_legacy_images_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ac6ece

Please sign in to comment.