mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-22 17:47:12 +03:00
Fix typo
This commit is contained in:
parent
a4306c890b
commit
6db3f19896
|
@ -44,7 +44,7 @@ class Query(graphene.ObjectType):
|
||||||
def resolve_users(self):
|
def resolve_users(self):
|
||||||
return UserModel.objects.all()
|
return UserModel.objects.all()
|
||||||
|
|
||||||
schema = graphene.Schema(query=QueryRoot)
|
schema = graphene.Schema(query=Query)
|
||||||
```
|
```
|
||||||
|
|
||||||
Then you can simply query the schema:
|
Then you can simply query the schema:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user