chore: Set phone_number through Website SDK (#2803)

Fixes: #2599
This commit is contained in:
Aswin Dev P.S
2021-08-13 17:26:09 +05:30
committed by GitHub
parent dfcc33cbdd
commit 9e052fd5b2
5 changed files with 39 additions and 5 deletions

View File

@@ -39,7 +39,8 @@ window.addEventListener('chatwoot:ready', function() {
window.$chatwoot.setUser('<%= user_id %>', {
identifier_hash: '<%= user_hash %>',
email: 'jane@example.com',
name: 'Jane Doe'
name: 'Jane Doe',
phone_number: ''
});
}
})