fix regression bug: not sending aws_region (#348)

This commit is contained in:
Dave Horton
2023-11-09 16:02:42 -05:00
committed by GitHub
parent 15c2b955ca
commit d8f05da6fd
@@ -241,6 +241,9 @@ export const SpeechServiceForm = ({ credential }: SpeechServiceFormProps) => {
use_for_tts: ttsCheck ? 1 : 0,
use_for_stt: sttCheck ? 1 : 0,
label: label || null,
...(vendor === VENDOR_AWS && {
aws_region: region || null,
}),
...(vendor === VENDOR_MICROSOFT && {
region: region || null,
use_custom_tts: