fix config merging

This commit is contained in:
akirilyuk committed 2022-02-04 08:06:19 +01:00
1 parent 3a791a67b5
commit 57ba79f908
1 file changed
+1 -1
+1 -1
View File
@@ -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;