From 917898a0b87aab718cb42d8bcddca74fa5c71eed Mon Sep 17 00:00:00 2001
From: Tonye Jack <jtonye@ymail.com>
Date: Wed, 16 Jun 2021 20:38:29 -0400
Subject: [PATCH] Update Query to inherit from graphene.ObjectType. (#68)

---
 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index dc0344c..ce1b391 100644
--- a/README.md
+++ b/README.md
@@ -40,7 +40,7 @@ class IngredientType(DjangoObjectType):
         model = Ingredient
 
 
-class Query(object):
+class Query(graphene.ObjectType):
     all_categories = graphene.List(CategoryType)
     all_ingredients = graphene.List(IngredientType)
 
@@ -206,4 +206,4 @@ class Query(object):
 
     def resolve_all_ingredients(root, info):
         return gql_optimizer.query(Ingredient.objects.all(), info, disable_abort_only=True)
-```
\ No newline at end of file
+```
-- 
GitLab