X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0bd5838f5100c98ece1229b40e2e722bc24e643b..431ff96b66d361b24c36253ed274bf63644be802:/app/controllers/api/changesets_controller.rb diff --git a/app/controllers/api/changesets_controller.rb b/app/controllers/api/changesets_controller.rb index a3dff4f1c..7bb7a5a4d 100644 --- a/app/controllers/api/changesets_controller.rb +++ b/app/controllers/api/changesets_controller.rb @@ -325,7 +325,7 @@ module Api raise OSM::APINotFoundError if current_user.nil? || current_user != u end - changesets.where(:user_id => u.id) + changesets.where(:user => u) end end