Skip to content

Commit f155e3c

Browse files
committed
chore(mcp): drop redundant clearCache TSDoc and stray trailing comment
1 parent 4ffc7ee commit f155e3c

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

apps/sim/app/api/mcp/oauth/start/route.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ describe('surfaceOauthError', () => {
171171
const longMessage = 'x'.repeat(300)
172172
const result = surfaceOauthError(new InvalidGrantError(longMessage))
173173
expect(result.endsWith('…')).toBe(true)
174-
expect(result.length).toBe(251) // 250 chars + ellipsis
174+
expect(result.length).toBe(251)
175175
})
176176

177177
it('returns generic fallback for non-Error values', () => {

apps/sim/lib/mcp/service.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -670,9 +670,6 @@ class McpService {
670670
}
671671
}
672672

673-
/**
674-
* Clear tool cache for a workspace or all workspaces.
675-
*/
676673
async clearCache(workspaceId?: string): Promise<void> {
677674
try {
678675
if (workspaceId) {

0 commit comments

Comments
 (0)