message json fix

This commit is contained in:
Tejaswini Chile 2022-12-12 21:01:09 +05:30 committed by fayazara
parent e8bd066f93
commit 4af9d00d6f

View file

@ -2,7 +2,7 @@ json.id message.id
json.content message.content
json.inbox_id message.inbox_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.content_type message.content_type
json.status message.status