X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ad4ab4603b27f2e89e4bb4a709bc04a6685ba67b..51a2d85053b67b2bc842fa45ac8eb998f8585add:/app/views/api/changesets/_changeset.json.jbuilder?ds=sidebyside diff --git a/app/views/api/changesets/_changeset.json.jbuilder b/app/views/api/changesets/_changeset.json.jbuilder index f0e461320..7001a95e8 100644 --- a/app/views/api/changesets/_changeset.json.jbuilder +++ b/app/views/api/changesets/_changeset.json.jbuilder @@ -23,13 +23,6 @@ json.tags changeset.tags unless changeset.tags.empty? 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 - json.user comment.author.display_name - end - json.text comment.body + json.partial! comment end end