Files
clientsflow/research/chatwoot/app/views/api/v1/widget/contacts/update.json.jbuilder

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?