feat: Shows inbox identifier token for API inbox (#2894)

Fixes: #2605
This commit is contained in:
Brandon Wilson
2021-08-27 10:26:45 -04:00
committed by GitHub
parent 9a8cbee470
commit f94abaef5f
5 changed files with 64 additions and 1 deletions

View File

@@ -29,3 +29,4 @@ if resource.web_widget?
json.pre_chat_form_enabled resource.channel.try(:pre_chat_form_enabled)
json.pre_chat_form_options resource.channel.try(:pre_chat_form_options)
end
json.inbox_identifier resource.channel.try(:identifier) if resource.api?