1 # frozen_string_literal: true
3 json.id changeset_comment.id
4 json.visible changeset_comment.visible
5 json.date changeset_comment.created_at.xmlschema
6 if changeset_comment.author.data_public?
7 json.uid changeset_comment.author.id
8 json.user changeset_comment.author.display_name
10 json.text changeset_comment.body