app/commands/decidim/blogs/admin/create_post.rb in decidim-blogs-0.15.2 vs app/commands/decidim/blogs/admin/create_post.rb in decidim-blogs-0.16.0
- old
+ new
@@ -46,10 +46,10 @@
def send_notification
Decidim::EventsManager.publish(
event: "decidim.events.blogs.post_created",
event_class: Decidim::Blogs::CreatePostEvent,
resource: @post,
- recipient_ids: @post.participatory_space.followers.pluck(:id)
+ followers: @post.participatory_space.followers
)
end
end
end
end