lib/tasks/users.rake in decidim-cdtb-0.1.6 vs lib/tasks/users.rake in decidim-cdtb-0.1.7
- old
+ new
@@ -13,11 +13,11 @@
end
desc <<~EODESC
Remove Decidim::User's by IDs in a CSV.
EODESC
- task :remove, %i[csv_file] => [:environment] do |_taks, args|
- service = ::Decidim::Cdtb::Users::Remover.new(args.csv_file)
+ task :remove, %i[csv_path reporter_user_email] => [:environment] do |_taks, args|
+ service = ::Decidim::Cdtb::Users::Remover.new(args.csv_path, args.reporter_user_email)
service.execute!
end
end
end