mirror of
https://github.com/farcasclaudiu/openclaw.git
synced 2026-06-28 15:01:41 +03:00
fix (gateway/config): merge config.patch object arrays by id
This commit is contained in:
@@ -342,7 +342,9 @@ export const configHandlers: GatewayRequestHandlers = {
|
||||
);
|
||||
return;
|
||||
}
|
||||
const merged = applyMergePatch(snapshot.config, parsedRes.parsed);
|
||||
const merged = applyMergePatch(snapshot.config, parsedRes.parsed, {
|
||||
mergeObjectArraysById: true,
|
||||
});
|
||||
const schemaPatch = loadSchemaWithPlugins();
|
||||
const restoredMerge = restoreRedactedValues(merged, snapshot.config, schemaPatch.uiHints);
|
||||
if (!restoredMerge.ok) {
|
||||
|
||||
Reference in New Issue
Block a user