This commit is contained in:
Paulo Romeira 2018-05-27 17:30:45 +00:00 committed by GitHub
commit 2bf1862f3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,7 +154,7 @@ Create ``cookbook/ingredients/schema.py`` and type the following:
model = Ingredient
class Query(object):
class Query(graphene.AbstractType):
all_categories = graphene.List(CategoryType)
all_ingredients = graphene.List(IngredientType)