Skip to content

Commit 30fe94a

Browse files
authored
Update src/content/docs/agents/model-context-protocol/authorization.mdx
1 parent 1cf5bbc commit 30fe94a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/content/docs/agents/model-context-protocol/authorization.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ function requirePermission(permission, handler) {
190190
return async (request, context) => {
191191
// Check if user has the required permission
192192
const userPermissions = context.props.permissions || [];
193-
const userPermissions = context.props.permissions || [];
194193
if (!userPermissions.includes(permission)) {
195194
return {
196195
content: [{ type: "text", text: `Permission denied: requires ${permission}` }],

0 commit comments

Comments
 (0)