mirror of
https://github.com/lingble/chatwoot.git
synced 2025-12-27 16:14:46 +00:00
* refactor: use has_email instead of email * feat: remove usage of details directly in forms * test: update payload * test: fix transcript test * refactor: use computed hasEmail --------- Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
5 lines
149 B
Ruby
5 lines
149 B
Ruby
json.id @contact.id
|
|
json.has_email @contact.email.present?
|
|
json.has_name @contact.name.present?
|
|
json.has_phone_number @contact.phone_number.present?
|