Docs: fix typos in example for relay nodes

This commit is contained in:
Simon Wörpel 2017-12-16 00:03:36 +01:00 committed by GitHub
parent 5036d164b7
commit 7afeaa052b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ Example of a custom node:
return '{}:{}'.format(type, id)
@staticmethod
def get_node_from_global_id(info global_id, only_type=None):
def get_node_from_global_id(info, global_id, only_node=None):
type, id = global_id.split(':')
if only_node:
# We assure that the node type that we want to retrieve