Merge branch 'main' of https://github.com/kwaroran/RisuAI
This commit is contained in:
@@ -159,8 +159,7 @@ async function translateMain(text:string, arg:{from:string, to:string, host:stri
|
||||
|
||||
if(!f.ok){ return 'ERR::DeepLX API Error' + (await f.data) }
|
||||
|
||||
const jsonResponse = JSON.stringify(f.data.data)
|
||||
return jsonResponse
|
||||
return f.data.data;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user