X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/387668a4c6727d8143211a5d828fd5dfacfa25ce..560e79d0ef241cd0dee4cac9f77bb8bba52d1f5c:/app/views/api/changesets/_changeset.xml.builder?ds=inline diff --git a/app/views/api/changesets/_changeset.xml.builder b/app/views/api/changesets/_changeset.xml.builder index e0188a10e..bc4365eb6 100644 --- a/app/views/api/changesets/_changeset.xml.builder +++ b/app/views/api/changesets/_changeset.xml.builder @@ -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?