Skip to content

Commit 7afeaa0

Browse files
authored
Docs: fix typos in example for relay nodes
1 parent 5036d16 commit 7afeaa0

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)