Skip to content

Commit 2d81a82

Browse files
committed
test(mcp): expect the search:read scope a full-access key reaches in v2 meta
1 parent b917f5d commit 2d81a82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/sim/lib/api/mcp/route-handler.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ describe('Sim MCP tools', () => {
102102
v2Enabled: true,
103103
keyType: 'personal',
104104
expiresAt: null,
105-
scopes: ['api:read', 'api:write'],
105+
scopes: ['api:read', 'api:write', 'search:read'],
106106
},
107107
})
108108
expect(v2RouteMocks.authenticate).toHaveBeenCalledTimes(2)

0 commit comments

Comments
 (0)