mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-14 10:18:42 +00:00
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:
1 parent
1454614ca8
commit
cb93559154
1 file changed
+1
-1
@@ -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,
|
||||
}
|
||||
Reference in new issue
Block a user