chore: fix typo
Fixes small typo from https://github.com/modelcontextprotocol/typescript-sdk/pull/247.
This commit is contained in:
parent
c3adee2aff
commit
940054e71c
1 changed files with 1 additions and 1 deletions
|
|
@ -413,7 +413,7 @@ putMessageTool.disable()
|
|||
|
||||
const upgradeAuthTool = server.tool(
|
||||
"upgradeAuth",
|
||||
{ permission: z.enum(["write', vadmin"])},
|
||||
{ permission: z.enum(["write', admin"])},
|
||||
// Any mutations here will automatically emit `listChanged` notifications
|
||||
async ({ permission }) => {
|
||||
const { ok, err, previous } = await upgradeAuthAndStoreToken(permission)
|
||||
|
|
|
|||
Loading…
Reference in a new issue