mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-13 17:52:19 +03:00
fixed typo
This commit is contained in:
parent
8459f7bcc8
commit
59f73c7f27
|
@ -133,7 +133,7 @@ class DjangoObjectType(ObjectType):
|
|||
return True
|
||||
if not is_valid_neomodel_model(type(root)):
|
||||
raise Exception(('Received incompatible instance "{}".').format(root))
|
||||
return isinstance(root.__class__, cls._meta.model)
|
||||
return isinstance(root, cls._meta.model)
|
||||
|
||||
@classmethod
|
||||
def get_node(cls, info, id):
|
||||
|
|
Loading…
Reference in New Issue
Block a user