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:
random-username-423
2023-12-02 19:01:46 +09:00
committed by GitHub
parent 06d1090e1f
commit 9b857e587f

View File

@@ -145,6 +145,7 @@ export async function sayTTS(character:character,text:string) {
alertError((language.errors.httpError + `${Buffer.from(res.data).toString()}`)) alertError((language.errors.httpError + `${Buffer.from(res.data).toString()}`))
} }
} }
break;
} }
case 'novelai': { case 'novelai': {