Correct typo in tts index file that cause tts provider settings to be destroyed.

This commit is contained in:
Tony Ribeiro 2023-08-14 05:03:42 +02:00
parent e97863a0da
commit 5816d2d6a6

View File

@ -650,8 +650,9 @@ function onTtsProviderSettingsInput() {
ttsProvider.onSettingsChange()
// Persist changes to SillyTavern tts extension settings
extension_settings.tts[ttsProviderName] = ttsProvider.setttings
console.debug(ttsProvider) // DBG
console.debug(ttsProvider.setttings) // DBG
extension_settings.tts[ttsProviderName] = ttsProvider.settings
saveSettingsDebounced()
console.info(`Saved settings ${ttsProviderName} ${JSON.stringify(ttsProvider.settings)}`)
}