From 0a17b33cf59cc05fbb2682b674f3548caab3abed Mon Sep 17 00:00:00 2001 From: Chris Volzer Date: Sat, 28 Mar 2026 06:55:07 -0400 Subject: [PATCH] chore: removed unused field --- apps/code/src/renderer/api/posthogClient.ts | 1 - .../src/renderer/features/settings/hooks/useMcpServers.ts | 5 ----- 2 files changed, 6 deletions(-) diff --git a/apps/code/src/renderer/api/posthogClient.ts b/apps/code/src/renderer/api/posthogClient.ts index c7eef4a64..295db7726 100644 --- a/apps/code/src/renderer/api/posthogClient.ts +++ b/apps/code/src/renderer/api/posthogClient.ts @@ -1053,7 +1053,6 @@ export class PostHogAPIClient { auth_type: "none" | "api_key" | "oauth"; api_key?: string; description?: string; - oauth_provider_kind?: string; install_source?: "posthog" | "posthog-code"; posthog_code_callback_url?: string; }): Promise { diff --git a/apps/code/src/renderer/features/settings/hooks/useMcpServers.ts b/apps/code/src/renderer/features/settings/hooks/useMcpServers.ts index 1473728f2..be16bd0b5 100644 --- a/apps/code/src/renderer/features/settings/hooks/useMcpServers.ts +++ b/apps/code/src/renderer/features/settings/hooks/useMcpServers.ts @@ -29,7 +29,6 @@ async function installWithOAuth( description: string; auth_type: "none" | "api_key" | "oauth"; api_key?: string; - oauth_provider_kind?: string; }, ) { // Step 1: Get callback URL from main process @@ -123,7 +122,6 @@ export function useMcpServers() { url: string; description: string; auth_type: "none" | "api_key" | "oauth"; - oauth_provider_kind?: string; }, ) => installWithOAuth(client, vars), { @@ -152,9 +150,6 @@ export function useMcpServers() { url: server.url, description: server.description, auth_type: server.auth_type, - ...(server.oauth_provider_kind - ? { oauth_provider_kind: server.oauth_provider_kind } - : {}), }); }, [installRecommendedMutation],