diff --git a/src/commands/login/index.ts b/src/commands/login/index.ts index 737b67f..88f86ae 100644 --- a/src/commands/login/index.ts +++ b/src/commands/login/index.ts @@ -15,7 +15,7 @@ export async function login(): Promise { } else { const authService = new AuthenticationService(); - const existingToken = authService.authenticate(); + const existingToken = await authService.authenticate(); if (existingToken) { const answer = await inquirer.prompt([{ type: "input",