diff --git a/apps/dashboard/app/models/remote_transfer.rb b/apps/dashboard/app/models/remote_transfer.rb index 2ad8b1c2e..877fc0c28 100644 --- a/apps/dashboard/app/models/remote_transfer.rb +++ b/apps/dashboard/app/models/remote_transfer.rb @@ -58,6 +58,7 @@ def build(action:, files:, src_remote:, dest_remote:, tempfile: nil) # # convert [a1, a2, a3] to {a1 => nil, a2 => nil, a3 => nil} files = Hash[files.map { |f| [f, nil] }].with_indifferent_access + puts files end self.new(action: action, files: files, src_remote: src_remote, dest_remote: dest_remote, tempfile: tempfile) end