fix: imme always use en source_lang

This commit is contained in:
xxnuo
2026-01-10 17:07:10 +08:00
parent ea2cb6bc8a
commit 19c981c274

View File

@@ -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[] = [];