X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/228ab23ce16338e281e609d9355c982cd4085c42..26f6fdf82c93b0fd3198bb8929d5f20a4723bfe8:/app/views/api/changesets/_changeset.json.jbuilder diff --git a/app/views/api/changesets/_changeset.json.jbuilder b/app/views/api/changesets/_changeset.json.jbuilder index 0d76ed90c..f0e461320 100644 --- a/app/views/api/changesets/_changeset.json.jbuilder +++ b/app/views/api/changesets/_changeset.json.jbuilder @@ -21,9 +21,10 @@ end json.tags changeset.tags unless changeset.tags.empty? -if @include_discussion - json.comments(changeset.comments) do |comment| +if @comments + json.comments(@comments) do |comment| json.id comment.id + json.visible comment.visible json.date comment.created_at.xmlschema if comment.author.data_public? json.uid comment.author.id