fix: subtitle

This commit is contained in:
Gabe
2025-10-10 13:49:04 +08:00
parent 769a4f00aa
commit 251e57ec61
7 changed files with 139 additions and 143 deletions

View File

@@ -937,12 +937,7 @@ export const handleMicrosoftLangdetect = async (texts = []) => {
* @param {*} param0
* @returns
*/
export const handleSubtitle = async ({
events,
from = "en",
to,
apiSetting,
}) => {
export const handleSubtitle = async ({ events, from, to, apiSetting }) => {
const { apiType, fetchInterval, fetchLimit, httpTimeout } = apiSetting;
const [input, init] = await genTransReq({