Add Favorite Recipe
Last updated
Last updated
Use the userFavoriteRecipe
mutation to set a recipe as a user's favorite.
To obtain a list of the user's favorite recipes, use the myFavoriteRecipes query.
Response returns isUserFavorite
bool field
Argument
Type
Description
recipeId
ID
UUID (databaseId)
Field Name
Type
Description
success
Boolean
True if the recipe has been set as favorite. Otherwise is False
isUserFavorite
Boolean
True if the recipe has been set as a favorite for the given user. Otherwise is False