Skip to content

Commit

Permalink
Merge pull request #526 from AlonsoEnrique/patch-1
Browse files Browse the repository at this point in the history
fix order in params
  • Loading branch information
mvanlonden authored Mar 9, 2019
2 parents f76f38e + f3144bf commit a7c1d01
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 a7c1d01

Please sign in to comment.