Revert "feat: Custom fields in pre-chat form (#4135)" (#4182)

This reverts commit e730804b48.
This commit is contained in:
Muhsin Keloth
2022-03-15 16:54:33 +05:30
committed by GitHub
parent 25876993ff
commit f405572e5c
16 changed files with 138 additions and 329 deletions

View File

@@ -51,7 +51,6 @@ class Api::V1::Widget::ConversationsController < Api::V1::Widget::BaseController
end
def permitted_params
params.permit(:id, :typing_status, :website_token, :email, contact: [:name, :email, :phone_number],
message: [:content, :referer_url, :timestamp, :echo_id])
params.permit(:id, :typing_status, :website_token, :email, contact: [:name, :email], message: [:content, :referer_url, :timestamp, :echo_id])
end
end