further fix for wellsaid tts

This commit is contained in:
Dave Horton
2022-01-27 10:46:16 -05:00
parent 25567a7842
commit e5821cddf8

View File

@@ -36,6 +36,10 @@ const speechMapper = (cred) => {
obj.api_key = o.api_key; obj.api_key = o.api_key;
obj.region = o.region; obj.region = o.region;
} }
else if ('wellsaid' === obj.vendor) {
const o = JSON.parse(decrypt(credential));
obj.api_key = o.api_key;
}
return obj; return obj;
}; };