lib/eco/cli/config.rb in eco-helpers-1.1.8 vs lib/eco/cli/config.rb in eco-helpers-1.2.1

- old
+ new

@@ -41,10 +41,10 @@ raise "There is no definition on how to load people" unless instance_variable_defined?(:@people_load) && @people_load unless io && io.is_a?(Eco::API::UseCases::BaseIO) raise "You need to provide Eco::API::UseCases::BaseIO object. Given: #{io.class}" end - io = io.new(type: :import) + io = io.new(type: :import, input: io.input || []) @people_load.call(*io.params) end end def people_filters