openstreetmap-website/app/views/api/changeset_comments/_changeset_comment.json.jbuilder
2025-02-15 19:35:24 +03:00

8 lines
284 B
Ruby

json.id changeset_comment.id
json.visible changeset_comment.visible
json.date changeset_comment.created_at.xmlschema
if changeset_comment.author.data_public?
json.uid changeset_comment.author.id
json.user changeset_comment.author.display_name
end
json.text changeset_comment.body