Commit 35f97f79 authored by Mateus Rambo Strey's avatar Mateus Rambo Strey

fix typo

parent 936e0f23
......@@ -54,7 +54,7 @@ module Dspace
end
def retrieve(args={})
bitstreams_path = args.fetch(:bitstreams_path) || nil
bitstreams_path = args.fetch(:bitstreams_path, nil)
bitstream = ResourceKit::ActionInvoker.call(action(:find), self, id: args.fetch(:id))
Dspace::Builders::TempfileBuilder.build(bitstream.name, ResourceKit::ActionInvoker.call(action(:retrieve), self, id: bitstream.id), bitstreams_path)
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment