Fix: Hide prechat for sessions inititated with setUser (#1914)

This commit is contained in:
Nithin David Thomas
2021-03-20 17:44:20 +05:30
committed by GitHub
parent 484c32fae3
commit 3043ee5058
10 changed files with 105 additions and 6 deletions

View File

@@ -1,6 +1,9 @@
class Api::V1::Widget::ContactsController < Api::V1::Widget::BaseController
before_action :process_hmac
def show; end
def update
process_hmac
contact_identify_action = ContactIdentifyAction.new(
contact: @contact,
params: permitted_params.to_h.deep_symbolize_keys