1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-24 23:59:45 +02:00

undefine timeout

This commit is contained in:
Kuchenpirat 2025-07-20 13:57:54 +00:00
parent bf9a96df65
commit 0b14007b25
2 changed files with 2 additions and 2 deletions

View file

@ -16,6 +16,6 @@ export class AdminDebugAPI extends BaseAPI {
formData.append("extension", fileName.split(".").pop() ?? "");
}
return await this.requests.post<DebugResponse>(routes.openai, formData);
return await this.requests.post<DebugResponse>(routes.openai, formData, { timeout: undefined });
}
}

View file

@ -169,7 +169,7 @@ export class RecipeAPI extends BaseCRUDAPI<CreateRecipe, Recipe, Recipe> {
apiRoute = `${apiRoute}?translateLanguage=${translateLanguage}`;
}
return await this.requests.post<string>(apiRoute, formData, { timeout: 1200000 });
return await this.requests.post<string>(apiRoute, formData, { timeout: undefined });
}
async parseIngredients(parser: Parser, ingredients: Array<string>) {