X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d3c800fdb4cf1b80d670a3425687d7d1b72a3985..7df4a7f8a3858d9fdb92f5df4c7056181bf91046:/lib/diff_reader.rb diff --git a/lib/diff_reader.rb b/lib/diff_reader.rb index 1189c86d0..d1987a936 100644 --- a/lib/diff_reader.rb +++ b/lib/diff_reader.rb @@ -128,7 +128,7 @@ class DiffReader @reader.read raise OSM::APIBadUserInput, "Document element should be 'osmChange'." if @reader.name != "osmChange" - result = OSM::API.new.get_xml_doc + result = OSM::API.new.xml_doc result.root.name = "diffResult" # loop at the top level, within the element