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

@@ -29,6 +29,6 @@ class Api::V1::Widget::ContactsController < Api::V1::Widget::BaseController
end
def permitted_params
params.permit(:website_token, :identifier, :identifier_hash, :email, :name, :avatar_url, custom_attributes: {})
params.permit(:website_token, :identifier, :identifier_hash, :email, :name, :avatar_url, :phone_number, custom_attributes: {})
end
end