app/commands/decidim/initiatives/spawn_committee_request.rb in decidim-initiatives-0.28.3 vs app/commands/decidim/initiatives/spawn_committee_request.rb in decidim-initiatives-0.28.4

- old
+ new

@@ -56,10 +56,10 @@ event: "decidim.events.initiatives.spawn_committee_request", event_class: Decidim::Initiatives::SpawnCommitteeRequestEvent, resource: initiative, affected_users: [initiative.author], force_send: true, - extra: { applicant: current_user } + extra: { applicant: { id: current_user&.id } } ) end def initiative @initiative ||= Decidim::Initiative.find(form.initiative_id)