Skip to content

Commit f2d7c9d

Browse files
committed
docs: Add to README
1 parent 807594d commit f2d7c9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolbox-core/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ loaded. This modifies the specific tool instance.
381381
toolbox = ToolboxClient("http://127.0.0.1:5000")
382382
tool = await toolbox.load_tool("my-tool")
383383

384-
auth_tool = tool.add_auth_token_getters({"my_auth": get_auth_token}) # Single token
384+
auth_tool = tool.add_auth_token_getter("my_auth", get_auth_token) # Single token
385385

386386
# OR
387387

0 commit comments

Comments
 (0)