fix order in params

This commit is contained in:
Alonso 2018-09-26 13:07:50 -05:00 committed by GitHub
parent f76f38ef30
commit f3144bf996
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: