summaryrefslogtreecommitdiff
path: root/packages/core/src/code_assist/codeAssist.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/core/src/code_assist/codeAssist.ts')
-rw-r--r--packages/core/src/code_assist/codeAssist.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/core/src/code_assist/codeAssist.ts b/packages/core/src/code_assist/codeAssist.ts
index 8a3c6939..c3cb9293 100644
--- a/packages/core/src/code_assist/codeAssist.ts
+++ b/packages/core/src/code_assist/codeAssist.ts
@@ -13,7 +13,7 @@ export async function createCodeAssistContentGenerator(
httpOptions: HttpOptions,
authType: AuthType,
): Promise<ContentGenerator> {
- if (authType === AuthType.LOGIN_WITH_GOOGLE_PERSONAL) {
+ if (authType === AuthType.LOGIN_WITH_GOOGLE) {
const authClient = await getOauthClient();
const projectId = await setupUser(authClient);
return new CodeAssistServer(authClient, projectId, httpOptions);