mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 15:49:42 +02:00
undefine timeout
This commit is contained in:
parent
bf9a96df65
commit
0b14007b25
2 changed files with 2 additions and 2 deletions
|
@ -16,6 +16,6 @@ export class AdminDebugAPI extends BaseAPI {
|
||||||
formData.append("extension", fileName.split(".").pop() ?? "");
|
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 });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -169,7 +169,7 @@ export class RecipeAPI extends BaseCRUDAPI<CreateRecipe, Recipe, Recipe> {
|
||||||
apiRoute = `${apiRoute}?translateLanguage=${translateLanguage}`;
|
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>) {
|
async parseIngredients(parser: Parser, ingredients: Array<string>) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue