perf: Remove unwanted conversation count query (#8372)
This commit is contained in:
@@ -7,7 +7,6 @@ json.phone_number resource.phone_number
|
|||||||
json.identifier resource.identifier
|
json.identifier resource.identifier
|
||||||
json.thumbnail resource.avatar_url
|
json.thumbnail resource.avatar_url
|
||||||
json.custom_attributes resource.custom_attributes
|
json.custom_attributes resource.custom_attributes
|
||||||
json.conversations_count resource.conversations_count if resource[:conversations_count].present?
|
|
||||||
json.last_activity_at resource.last_activity_at.to_i if resource[:last_activity_at].present?
|
json.last_activity_at resource.last_activity_at.to_i if resource[:last_activity_at].present?
|
||||||
json.created_at resource.created_at.to_i if resource[:created_at].present?
|
json.created_at resource.created_at.to_i if resource[:created_at].present?
|
||||||
# we only want to output contact inbox when its /contacts endpoints
|
# we only want to output contact inbox when its /contacts endpoints
|
||||||
|
|||||||
Reference in New Issue
Block a user