From f3144bf996cac8f137b1838a0d2f3717b32907bf Mon Sep 17 00:00:00 2001 From: Alonso Date: Wed, 26 Sep 2018 13:07:50 -0500 Subject: [PATCH] fix order in params --- docs/authorization.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/authorization.rst b/docs/authorization.rst index 7a08481ba..86ad66a5c 100644 --- a/docs/authorization.rst +++ b/docs/authorization.rst @@ -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: