Skip to content

Commit 25dab92

Browse files
authored
Merge pull request #629 from simonwoerpel/master
Docs: fix typos in code-example for relay nodes
2 parents 94d5e34 + 7afeaa0 commit 25dab92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/relay/nodes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Example of a custom node:
5555
return '{}:{}'.format(type, id)
5656
5757
@staticmethod
58-
def get_node_from_global_id(info global_id, only_type=None):
58+
def get_node_from_global_id(info, global_id, only_node=None):
5959
type, id = global_id.split(':')
6060
if only_node:
6161
# We assure that the node type that we want to retrieve

0 commit comments

Comments
 (0)