Update README.md

This commit is contained in:
Syrus Akbary 2017-11-22 13:47:18 -08:00 committed by GitHub
parent 90d84e8be9
commit d8a4b4a0fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ class User(DjangoObjectType):
class Query(graphene.ObjectType):
users = graphene.List(User)
def resolve_users(self, info, **kwargs):
def resolve_users(self, info):
return UserModel.objects.all()
schema = graphene.Schema(query=Query)