feat: Show the CSAT response to the agent (#2511)

This commit is contained in:
Pranav Raj S 2021-06-25 13:37:51 +05:30 committed by GitHub
parent b769fc87d0
commit bd1b17baf3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 74 additions and 12 deletions

View file

@ -54,7 +54,7 @@ class Api::V1::Widget::MessagesController < Api::V1::Widget::BaseController
end
def message_update_params
params.permit(message: [{ submitted_values: [:name, :title, :value, { csat_survey_response: [:feedback_text, :rating] }] }])
params.permit(message: [{ submitted_values: [:name, :title, :value, { csat_survey_response: [:feedback, :rating] }] }])
end
def permitted_params