Add missed break statement
breaks statement was missed in 'openai' tts case. It makes a bug that requesting openai TTS and novelai TTS both. This commit will fix this issue.
This commit is contained in:
committed by
GitHub
parent
06d1090e1f
commit
9b857e587f
@@ -145,6 +145,7 @@ export async function sayTTS(character:character,text:string) {
|
||||
alertError((language.errors.httpError + `${Buffer.from(res.data).toString()}`))
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
case 'novelai': {
|
||||
@@ -294,4 +295,4 @@ export async function FixNAITTS(data:character){
|
||||
}
|
||||
|
||||
return data
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user