feat: Add Public APIs for API Channel (#2375)

This commit is contained in:
Sojan Jose 2021-06-15 20:09:17 +05:30 committed by GitHub
parent 0f377da109
commit 853db60f8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
29 changed files with 404 additions and 11 deletions

View file

@ -58,6 +58,7 @@ class Api::V1::Widget::MessagesController < Api::V1::Widget::BaseController
end
def permitted_params
# timestamp parameter is used in create conversation method
params.permit(:id, :before, :website_token, contact: [:name, :email], message: [:content, :referer_url, :timestamp, :echo_id])
end