mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-05 13:35:23 +02:00
fix unauthorized recipe (#499)
This commit is contained in:
parent
0e42f7407d
commit
562cea341b
3 changed files with 6 additions and 3 deletions
|
@ -36,7 +36,8 @@ export const recipeAPI = {
|
|||
|
||||
async requestDetails(recipeSlug) {
|
||||
let response = await apiReq.get(API_ROUTES.recipesRecipeSlug(recipeSlug));
|
||||
return response.data;
|
||||
if (response && response.data) return response.data;
|
||||
else return null;
|
||||
},
|
||||
|
||||
updateImage(recipeSlug, fileObject, overrideSuccessMsg = false) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue