summaryrefslogtreecommitdiff
path: root/packages/core/src/code_assist/codeAssist.ts
diff options
context:
space:
mode:
authorTommaso Sciortino <[email protected]>2025-06-25 15:38:18 -0700
committerGitHub <[email protected]>2025-06-25 22:38:18 +0000
commit79c647d486a5ef3cf9eb68f23000525e8d2c4a91 (patch)
tree43dab16125247ef844b8b46a403935356f98f4cd /packages/core/src/code_assist/codeAssist.ts
parent00b24c917e6c6f5e059fec6cb0a5b55789fa1e1e (diff)
Merge "Login with Google Workspace" auth option into "Login with Google" (#1574)
Co-authored-by: Scott Densmore <[email protected]>
Diffstat (limited to 'packages/core/src/code_assist/codeAssist.ts')
-rw-r--r--packages/core/src/code_assist/codeAssist.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/core/src/code_assist/codeAssist.ts b/packages/core/src/code_assist/codeAssist.ts
index 1ceb818b..8a3c6939 100644
--- a/packages/core/src/code_assist/codeAssist.ts
+++ b/packages/core/src/code_assist/codeAssist.ts
@@ -13,10 +13,7 @@ export async function createCodeAssistContentGenerator(
httpOptions: HttpOptions,
authType: AuthType,
): Promise<ContentGenerator> {
- if (
- authType === AuthType.LOGIN_WITH_GOOGLE_ENTERPRISE ||
- authType === AuthType.LOGIN_WITH_GOOGLE_PERSONAL
- ) {
+ if (authType === AuthType.LOGIN_WITH_GOOGLE_PERSONAL) {
const authClient = await getOauthClient();
const projectId = await setupUser(authClient);
return new CodeAssistServer(authClient, projectId, httpOptions);