Merge pull request #629 from simonwoerpel/master

Docs: fix typos in code-example for relay nodes
This commit is contained in:
Syrus Akbary 2017-12-23 10:17:31 -08:00 committed by GitHub
commit 25dab925ee
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