Skip to content

Commit 6db3f19

Browse files
authored
Fix typo
1 parent a4306c8 commit 6db3f19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class Query(graphene.ObjectType):
4444
def resolve_users(self):
4545
return UserModel.objects.all()
4646

47-
schema = graphene.Schema(query=QueryRoot)
47+
schema = graphene.Schema(query=Query)
4848
```
4949

5050
Then you can simply query the schema:

0 commit comments

Comments
 (0)