X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/78f608b114c05f1147936a57b930831e28000c1a..ba5107ebb543a396fc78069c75c431e4d3887ee1:/app/views/notes/_note.json.jsonify diff --git a/app/views/notes/_note.json.jsonify b/app/views/notes/_note.json.jsonify index f252a0dfc..ce9ddb4bf 100644 --- a/app/views/notes/_note.json.jsonify +++ b/app/views/notes/_note.json.jsonify @@ -16,8 +16,8 @@ json.properties do json.comments(note.comments) do |comment| json.date comment.created_at - json.uid comment.author_id unless comment.author_id.nil? - json.user comment.author_name + json.uid comment.author.id unless comment.author.nil? + json.user comment.author.display_name unless comment.author.nil? json.action comment.event json.text comment.body unless comment.body.nil? end