]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/changesets/_changeset.json.jbuilder
Add comment ids to changeset discussion api responses
[rails.git] / app / views / api / changesets / _changeset.json.jbuilder
index 25b366011ce77db5ec66f36bc9ffc9bc0e8620b8..0d76ed90c61eaccaf257b6d0bf0ac306dc314b9d 100644 (file)
@@ -23,6 +23,7 @@ json.tags changeset.tags unless changeset.tags.empty?
 
 if @include_discussion
   json.comments(changeset.comments) do |comment|
+    json.id comment.id
     json.date comment.created_at.xmlschema
     if comment.author.data_public?
       json.uid comment.author.id