mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2026-10-19 01:44:18 +00:00
fix config merging
This commit is contained in:
1 parent
df302320ca
commit
e2753ca8a3
1 file changed
+2
-2
@@ -23,8 +23,8 @@ class SpeechConfig extends Emitter {
|
||||
this.sessionConfig,
|
||||
changedConfig,
|
||||
(objValue, sourceValue) => {
|
||||
if (isArray(objValue)) {
|
||||
if (isArray(sourceValue)) {
|
||||
if (Array.isArray(objValue)) {
|
||||
if (Array.isArray(sourceValue)) {
|
||||
return sourceValue;
|
||||
}
|
||||
return objValue;
|
||||
|
||||
Reference in new issue
Block a user