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:
@@ -23,8 +23,8 @@ class SpeechConfig extends Emitter {
|
|||||||
this.sessionConfig,
|
this.sessionConfig,
|
||||||
changedConfig,
|
changedConfig,
|
||||||
(objValue, sourceValue) => {
|
(objValue, sourceValue) => {
|
||||||
if (isArray(objValue)) {
|
if (Array.isArray(objValue)) {
|
||||||
if (isArray(sourceValue)) {
|
if (Array.isArray(sourceValue)) {
|
||||||
return sourceValue;
|
return sourceValue;
|
||||||
}
|
}
|
||||||
return objValue;
|
return objValue;
|
||||||
|
|||||||
Reference in New Issue
Block a user