chore: fix typo

Fixes small typo from https://github.com/modelcontextprotocol/typescript-sdk/pull/247.
This commit is contained in:
Simon Knott 2025-04-11 14:23:57 +02:00 • committed by GitHub
commit 940054e71c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)