app/commands/decidim/elections/admin/setup_election.rb in decidim-elections-0.25.2 vs app/commands/decidim/elections/admin/setup_election.rb in decidim-elections-0.26.0.rc1

- old
+ new

@@ -140,10 +140,10 @@ event_class: Decidim::Elections::Trustees::NotifyTrusteeNewElectionEvent, resource: election, affected_users: trustee } - Decidim::EventsManager.publish(data) + Decidim::EventsManager.publish(**data) end # Since machine_translations return a nested hash but Electionguard and other # schemes expect the translations to be returned in a "simple" hash, we need to # flatten the translations.