Include the event type in the JSON output of a note
This commit is contained in:
parent
82cf356d85
commit
85d17f257c
1 changed files with 2 additions and 1 deletions
|
@ -16,6 +16,7 @@ json.properties do
|
|||
json.date comment.created_at
|
||||
json.uid comment.author_id unless comment.author_id.nil?
|
||||
json.user comment.author_name
|
||||
json.text comment.body
|
||||
json.action comment.event
|
||||
json.text comment.body unless comment.body.nil?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue