Skip to content

Commit

Permalink
Fixing landing test
Browse files Browse the repository at this point in the history
  • Loading branch information
alaxalves committed Jun 7, 2020
1 parent 5f3ab82 commit 60dd170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/export_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
end

get '/export' do
@images_json = params[:collection] || URI.open(params[:url]).read
@images_json = params[:collection] || open(params[:url]).read
@images_json = JSON.parse(@images_json)
run_export(@images_json)
end
Expand Down

0 comments on commit 60dd170

Please sign in to comment.