From a70e3b68dff61e27eb63c6b8aab15d756f63c455 Mon Sep 17 00:00:00 2001 From: Taoufik Date: Mon, 22 Oct 2018 00:01:51 +0100 Subject: [PATCH] Fix args order --- 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: