mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-10 19:57:15 +03:00
fix order in params
This commit is contained in:
parent
f76f38ef30
commit
f3144bf996
|
@ -114,7 +114,7 @@ method to your ``DjangoObjectType``.
|
|||
interfaces = (relay.Node, )
|
||||
|
||||
@classmethod
|
||||
def get_node(cls, id, info):
|
||||
def get_node(cls, info, id):
|
||||
try:
|
||||
post = cls._meta.model.objects.get(id=id)
|
||||
except cls._meta.model.DoesNotExist:
|
||||
|
|
Loading…
Reference in New Issue
Block a user