Skip to content

Commit

Permalink
Update app/commands/decidim/superspaces/admin/update_superspace.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
fblupi authored Jan 9, 2025
1 parent 0fca1f6 commit e43502d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/commands/decidim/superspaces/admin/update_superspace.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ def update_associations(assembly_ids, process_ids)

return if process_ids.blank?

processes = Decidim::ParticipatoryProcess.where(id: process_ids)
processes.each do |process|
Decidim::ParticipatoryProcess.where(id: process_ids).each do |process|
@superspace.superspaces_participatory_spaces.create!(
participatory_space: process
)
Expand Down

0 comments on commit e43502d

Please sign in to comment.