app/commands/decidim/admin/officialize_user.rb in decidim-admin-0.15.2 vs app/commands/decidim/admin/officialize_user.rb in decidim-admin-0.16.0
- old
+ new
@@ -24,10 +24,10 @@
Decidim::EventsManager.publish(
event: "decidim.events.users.user_officialized",
event_class: Decidim::ProfileUpdatedEvent,
resource: form.user,
- recipient_ids: form.user.followers.pluck(:id)
+ followers: form.user.followers
)
broadcast(:ok, form.user)
end