Chore: Add web_widget_script in the Inboxes API (#615)

* Chore: Add web_widget_script in the Inboxes API
This commit is contained in:
Pranav Raj S
2020-03-16 12:32:34 +05:30
committed by GitHub
parent d8599c62dd
commit 4d0f46176b
11 changed files with 49 additions and 39 deletions

View File

@@ -4,3 +4,4 @@ json.name @inbox.name
json.channel_type @inbox.channel_type
json.website_token @inbox.channel.try(:website_token)
json.widget_color @inbox.channel.try(:widget_color)
json.web_widget_script @inbox.channel.try(:web_widget_script)

View File

@@ -4,3 +4,4 @@ json.name @inbox.name
json.channel_type @inbox.channel_type
json.website_token @inbox.channel.website_token
json.widget_color @inbox.channel.widget_color
json.web_widget_script @inbox.channel.try(:web_widget_script)