We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc27636 commit 5f7573fCopy full SHA for 5f7573f
pkg/cmd/auth/crawler/crawler.go
@@ -5,7 +5,6 @@ import (
5
6
"github.com/algolia/cli/api/dashboard"
7
"github.com/algolia/cli/pkg/auth"
8
- "github.com/algolia/cli/pkg/cmd/auth/login"
9
"github.com/algolia/cli/pkg/cmdutil"
10
"github.com/algolia/cli/pkg/config"
11
"github.com/algolia/cli/pkg/iostreams"
@@ -44,7 +43,7 @@ func NewCrawlerCmd(f *cmdutil.Factory) *cobra.Command {
44
43
45
func runCrawlerCmd(opts *CrawlerOptions) error {
46
cs := opts.IO.ColorScheme()
47
- dashboardClient := opts.NewDashboardClient(login.OAuthClientID())
+ dashboardClient := opts.NewDashboardClient(auth.OAuthClientID())
48
49
accessToken, err := opts.GetValidToken(dashboardClient)
50
if err != nil {
0 commit comments