From: Frederik Ramm Date: Sun, 9 Nov 2008 11:30:03 +0000 (+0000) Subject: make diff upload result a "diffResult" rather than "osm" document X-Git-Tag: live~7609^2~181 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/b64fc35140674d868f9e66a748b663877d3fd285?ds=inline make diff upload result a "diffResult" rather than "osm" document --- diff --git a/lib/diff_reader.rb b/lib/diff_reader.rb index f7c51d797..6a053e4ad 100644 --- a/lib/diff_reader.rb +++ b/lib/diff_reader.rb @@ -79,6 +79,7 @@ class DiffReader ids = { :node => node_ids, :way => way_ids, :relation => rel_ids} result = OSM::API.new.get_xml_doc + result.root.name = "diffResult" # loop at the top level, within the element (although we # don't actually check this...)