refactor: cleanup code

Signed-off-by: Neko Ayaka <neko@ayaka.moe>
This commit is contained in:
Neko Ayaka
2024-12-02 00:31:39 +08:00
parent d791c8315a
commit 36a191b477
6 changed files with 132 additions and 114 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { ElevenLabsClient, stream } from 'elevenlabs'
import { ElevenLabsClient } from 'elevenlabs'
export default defineEventHandler(async (event) => {
const body = await readBody<{ text: string }>(event)