diff options
Diffstat (limited to 'packages/core/src/code_assist/codeAssist.ts')
| -rw-r--r-- | packages/core/src/code_assist/codeAssist.ts | 5 |
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); |
