mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 23:59:45 +02:00
feat(frontend): ✨ add debugger to creation page (#750)
* feat(frontend): ✨ add debugger to creation page
* styling
Co-authored-by: Hayden <hay-kot@pm.me>
This commit is contained in:
parent
89da1a2654
commit
7e3a36f2dd
8 changed files with 308 additions and 125 deletions
|
@ -82,6 +82,10 @@ export class RecipeAPI extends BaseCRUDAPI<Recipe, CreateRecipe> {
|
|||
return this.requests.post(routes.recipesRecipeSlugImage(slug), { url });
|
||||
}
|
||||
|
||||
async testCreateOneUrl(url: string) {
|
||||
return await this.requests.post<Recipe | null>(routes.recipesTestScrapeUrl, { url });
|
||||
}
|
||||
|
||||
async createOneByUrl(url: string) {
|
||||
return await this.requests.post(routes.recipesCreateUrl, { url });
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue