From 49ac4a440074bafc3e519be16878e653a34522e3 Mon Sep 17 00:00:00 2001 From: Sojan Jose Date: Wed, 29 Sep 2021 18:29:13 +0530 Subject: [PATCH] chore: Fix Twilio callback url not appearing until refresh (#3106) The Twilio callback url wasn't being displayed until the page is refreshed fixes: #3034 --- .../accounts/channels/twilio_channels/create.json.jbuilder | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/views/api/v1/accounts/channels/twilio_channels/create.json.jbuilder b/app/views/api/v1/accounts/channels/twilio_channels/create.json.jbuilder index 8b27a80a7..981c1dec0 100644 --- a/app/views/api/v1/accounts/channels/twilio_channels/create.json.jbuilder +++ b/app/views/api/v1/accounts/channels/twilio_channels/create.json.jbuilder @@ -1,6 +1 @@ -json.id @inbox.id -json.channel_id @inbox.channel_id -json.name @inbox.name -json.channel_type @inbox.channel_type -json.enable_auto_assignment @inbox.enable_auto_assignment -json.phone_number @inbox.channel.phone_number +json.partial! 'api/v1/models/inbox.json.jbuilder', resource: @inbox