diff --git a/lib/tasks/cognigy/speech-config.js b/lib/tasks/cognigy/speech-config.js index d3ba7f25..3a3993a2 100644 --- a/lib/tasks/cognigy/speech-config.js +++ b/lib/tasks/cognigy/speech-config.js @@ -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;