diff --git a/cli/cmd/auth.go b/cli/cmd/auth.go index b05567680f..5abaa0526f 100644 --- a/cli/cmd/auth.go +++ b/cli/cmd/auth.go @@ -85,7 +85,7 @@ func login() error { config.SetToken(config.Token) color.New(color.FgGreen).Println("Successfully logged in!") - projID, err := api.GetProjectIDFromToken(token) + projID, err := api.GetProjectIDFromToken(config.Token) if err != nil { return err