Merge pull request #526 from AlonsoEnrique/patch-1

fix order in params
This commit is contained in:
Mel van Londen 2019-03-08 23:29:56 -08:00 committed by GitHub
commit a7c1d0146a
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: