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.
This commit is contained in:
viettranx committed 2026-03-19 23:47:51 +07:00
1 parent 1454614ca8
commit cb93559154
1 file changed
+1 -1
+1 -1
View File
@@ -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,
}