X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cfb2f2988c0a396f2d2b167d3c75461b7e811e1c..88ba316abeecffccd1cb51c63ce5594c95023624:/app/controllers/api/changesets_controller.rb diff --git a/app/controllers/api/changesets_controller.rb b/app/controllers/api/changesets_controller.rb index a5a37b485..a236083db 100644 --- a/app/controllers/api/changesets_controller.rb +++ b/app/controllers/api/changesets_controller.rb @@ -21,7 +21,7 @@ module Api def create assert_method :put - cs = Changeset.from_xml(request.raw_post, true) + cs = Changeset.from_xml(request.raw_post, :create => true) # Assume that Changeset.from_xml has thrown an exception if there is an error parsing the xml cs.user = current_user