mirror of
https://github.com/xxnuo/MTranServer.git
synced 2026-09-03 06:35:20 +08:00
fix: imme always use en source_lang
This commit is contained in:
@@ -37,7 +37,7 @@ export class ImmeController extends Controller {
|
||||
throw new Error('Unauthorized');
|
||||
}
|
||||
|
||||
const sourceLang = NormalizeLanguageCode(body.source_lang);
|
||||
const sourceLang = 'auto';
|
||||
const targetLang = NormalizeLanguageCode(body.target_lang);
|
||||
|
||||
const translations: ImmeTranslation[] = [];
|
||||
|
||||
Reference in New Issue
Block a user