mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-10-29 23:04:29 +00:00
fix config merging
This commit is contained in:
1 parent
3a791a67b5
commit
57ba79f908
1 file changed
+1
-1
@@ -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