message json fix
This commit is contained in:
parent
e00e049fb7
commit
900e8501ca
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ json.id message.id
|
||||||
json.content message.content
|
json.content message.content
|
||||||
json.inbox_id message.inbox_id
|
json.inbox_id message.inbox_id
|
||||||
json.echo_id message.echo_id if message.echo_id
|
json.echo_id message.echo_id if message.echo_id
|
||||||
json.conversation_id message.conversation.display_id
|
json.conversation_id message.conversation.try(:display_id)
|
||||||
json.message_type message.message_type_before_type_cast
|
json.message_type message.message_type_before_type_cast
|
||||||
json.content_type message.content_type
|
json.content_type message.content_type
|
||||||
json.status message.status
|
json.status message.status
|
||||||
|
|
Loading…
Reference in a new issue