From 85776ec65c2020d98d0e6f848ef48a84db512521 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Thu, 11 Jun 2026 19:37:40 +0530 Subject: [PATCH] fix: inbox jbuilder --- app/views/api/v1/models/_inbox.json.jbuilder | 1 - 1 file changed, 1 deletion(-) diff --git a/app/views/api/v1/models/_inbox.json.jbuilder b/app/views/api/v1/models/_inbox.json.jbuilder index 10306cca3..f46286bf6 100644 --- a/app/views/api/v1/models/_inbox.json.jbuilder +++ b/app/views/api/v1/models/_inbox.json.jbuilder @@ -130,7 +130,6 @@ json.bot_name resource.channel.try(:bot_name) if resource.telegram? if resource.whatsapp? json.message_templates resource.channel.try(:message_templates) json.provider_config resource.channel.try(:provider_config) if Current.account_user&.administrator? && @access_token&.scope != 'read_only' - json.provider_config resource.channel.try(:provider_config) if Current.account_user&.administrator? # Only show reauthorization for embedded signup; manual flow uses API keys, not OAuth json.reauthorization_required( (resource.channel.try(:provider_config) || {}).to_h['source'] == 'embedded_signup' &&