chore: Enhance contact merge action for identified users (#4886)
- Discard conflicting keys - Do not merge if there is already an identified contact Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
5
app/views/api/v1/widget/contacts/set_user.json.jbuilder
Normal file
5
app/views/api/v1/widget/contacts/set_user.json.jbuilder
Normal file
@@ -0,0 +1,5 @@
|
||||
json.id @contact.id
|
||||
json.name @contact.name
|
||||
json.email @contact.email
|
||||
json.phone_number @contact.phone_number
|
||||
json.widget_auth_token @widget_auth_token if @widget_auth_token.present?
|
||||
Reference in New Issue
Block a user