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
1 changed files with 3 additions and 2 deletions

View File

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