make diff upload result a "diffResult" rather than "osm" document
authorFrederik Ramm <frederik@remote.org>
Sun, 9 Nov 2008 11:30:03 +0000 (11:30 +0000)
committerFrederik Ramm <frederik@remote.org>
Sun, 9 Nov 2008 11:30:03 +0000 (11:30 +0000)
lib/diff_reader.rb

index f7c51d79704fbd036a7ff45ec26fbf41922c35d6..6a053e4adc19dc8a010d6744da1a125b47314e25 100644 (file)
@@ -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 <osmChange> element (although we
     # don't actually check this...)