Skip to content

Commit

Permalink
refactor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
orangewolf committed Nov 11, 2024
1 parent 7b08411 commit acf82ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/jobs/migrate_resources_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def errors

def migrate(id)
resource = Hyrax.query_service.find_by(id: id)
next unless resource.wings? # this resource has already been converted
return unless resource.wings? # this resource has already been converted
result = MigrateResourceService.new(resource: resource).call
errors << result unless result.success?
result
Expand Down

0 comments on commit acf82ea

Please sign in to comment.