X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7054cea48ee9728c155334b48777a5f25db89af8..c8fc2218e5e342ad7afc9409974fd48a733ba94b:/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