Skip to content

Commit 61d5c6b

Browse files
committed
fix: correct parameter schema key in Dynamic Servers documentation
1 parent 0d54517 commit 61d5c6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ const upgradeAuthTool = server.tool(
899899
// If we've just upgraded to 'write' permissions, we can still call 'upgradeAuth'
900900
// but can only upgrade to 'admin'.
901901
upgradeAuthTool.update({
902-
paramSchema: { permission: z.enum(["admin"]) }, // change validation rules
902+
paramsSchema: { permission: z.enum(["admin"]) }, // change validation rules
903903
})
904904
} else {
905905
// If we're now an admin, we no longer have anywhere to upgrade to, so fully remove that tool

0 commit comments

Comments
 (0)