mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-23 23:29:41 +02:00
migration changes
This commit is contained in:
parent
e5304f0589
commit
e313741a25
59 changed files with 368 additions and 22124 deletions
|
@ -20,7 +20,10 @@ const recipeURLs = {
|
|||
|
||||
export default {
|
||||
async createByURL(recipeURL) {
|
||||
let response = await apiReq.post(recipeURLs.createByURL, { url: recipeURL });
|
||||
let response = await apiReq.post(recipeURLs.createByURL, {
|
||||
url: recipeURL,
|
||||
});
|
||||
console.log(response);
|
||||
let recipeSlug = response.data;
|
||||
store.dispatch("requestRecentRecipes");
|
||||
router.push(`/recipe/${recipeSlug}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue