refactor!: rename chat providers to channels
This commit is contained in:
@@ -30,6 +30,9 @@ export function mergeWhatsAppConfig(
|
||||
): ClawdbotConfig {
|
||||
return {
|
||||
...cfg,
|
||||
whatsapp: mergeConfigSection(cfg.whatsapp, patch, options),
|
||||
channels: {
|
||||
...cfg.channels,
|
||||
whatsapp: mergeConfigSection(cfg.channels?.whatsapp, patch, options),
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user