]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/changesets/_changeset.xml.builder
Remove 'basic attributes' comments from changeset api output builders
[rails.git] / app / views / api / changesets / _changeset.xml.builder
index e0188a10e0914b5e9dd66fbd756c8a426df38e2f..bc4365eb6c7f049f2060d737995d2bf782ecb94a 100644 (file)
@@ -28,6 +28,7 @@ xml.changeset(attrs) do |changeset_xml_node|
     changeset_xml_node.discussion do |discussion_xml_node|
       changeset.comments.includes(:author).each do |comment|
         cattrs = {
+          "id" => comment.id,
           "date" => comment.created_at.xmlschema
         }
         if comment.author.data_public?