Merge pull request #315 from Skn0tt/patch-1

chore: fix typo
This commit is contained in:
ihrpr 2025-05-24 20:52:35 +01:00 • committed by GitHub
commit d5c996bbcb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -548,7 +548,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)