From cb93559154bcc7c91f58587a90f52288d984100b Mon Sep 17 00:00:00 2001 From: viettranx Date: Thu, 19 Mar 2026 23:47:51 +0700 Subject: [PATCH] fix(channels): allow config field in channel instance updates Add "config" to channelInstanceAllowedFields so channel config changes from the UI are actually persisted to the database instead of being silently dropped by the allowlist filter. --- internal/http/validate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/http/validate.go b/internal/http/validate.go index d6701c63..73c4c95c 100644 --- a/internal/http/validate.go +++ b/internal/http/validate.go @@ -65,5 +65,5 @@ var mcpServerAllowedFields = map[string]bool{ var channelInstanceAllowedFields = map[string]bool{ "channel_type": true, "credentials": true, "agent_id": true, "enabled": true, "group_policy": true, "allow_from": true, - "metadata": true, "webhook_secret": true, + "metadata": true, "webhook_secret": true, "config": true, }