Skip to content

Commit

Permalink
fix order in params
Browse files Browse the repository at this point in the history
  • Loading branch information
ma1onso committed Sep 26, 2018
1 parent f76f38e commit f3144bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/authorization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f3144bf

Please sign in to comment.