Return the "large" image from the user details API call
[rails.git] / app / views / user / api_read.builder
index 4ed8c9e942018597c7d5540d5f98a773eecf0fa0..e9cebd5aeb0c4c8afb600be344ba27b5f982fa77 100644 (file)
@@ -10,7 +10,7 @@ xml.osm("version" => API_VERSION, "generator" => GENERATOR) do
     else
       xml.tag! "contributor-terms", :agreed => @user.terms_agreed.present?
     end
-    xml.tag! "img", :href => user_image_url(@user, :size => 256) if @user.image.file? || @user.image_use_gravatar
+    xml.tag! "img", :href => user_image_url(@user) if @user.image.file? || @user.image_use_gravatar
     xml.tag! "roles" do
       @user.roles.each do |role|
         xml.tag! role.role