mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-21 17:17:58 +00:00
fix config merging
This commit is contained in:
@@ -20,7 +20,7 @@ class SpeechConfig extends Emitter {
|
||||
const merged = lodash.merge(
|
||||
{},
|
||||
this.sessionConfig,
|
||||
session
|
||||
changedConfig
|
||||
);
|
||||
merged.bargein.enable = changedConfig.bargein?.enable?.length === 0 ? [] : changedConfig.bargein?.enable;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user