chore: Display API key in the configuration for WhatsApp Channel (#4944)

This commit is contained in:
Pranav Raj S
2022-06-29 11:52:55 +05:30
committed by GitHub
parent df1bf112ea
commit 3f6862e04d
5 changed files with 20 additions and 4 deletions

View File

@@ -82,4 +82,7 @@ if resource.api?
end
### WhatsApp Channel
json.message_templates resource.channel.try(:message_templates) if resource.whatsapp?
if resource.whatsapp?
json.message_templates resource.channel.try(:message_templates)
json.provider_config resource.channel.try(:provider_config)
end