File tree 1 file changed +3
-3
lines changed
pkg/cmd/dictionary/settings/get
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package get
2
2
3
3
import (
4
4
"github.com/MakeNowJust/heredoc"
5
- "github.com/algolia/algoliasearch-client-go/v3 /algolia/search"
5
+ "github.com/algolia/algoliasearch-client-go/v4 /algolia/search"
6
6
"github.com/spf13/cobra"
7
7
8
8
"github.com/algolia/cli/pkg/cmdutil"
@@ -14,7 +14,7 @@ type GetOptions struct {
14
14
Config config.IConfig
15
15
IO * iostreams.IOStreams
16
16
17
- SearchClient func () (* search.Client , error )
17
+ SearchClient func () (* search.APIClient , error )
18
18
19
19
PrintFlags * cmdutil.PrintFlags
20
20
}
@@ -24,7 +24,7 @@ func NewGetCmd(f *cmdutil.Factory, runF func(*GetOptions) error) *cobra.Command
24
24
opts := & GetOptions {
25
25
IO : f .IOStreams ,
26
26
Config : f .Config ,
27
- SearchClient : f .SearchClient ,
27
+ SearchClient : f .V4SearchClient ,
28
28
PrintFlags : cmdutil .NewPrintFlags ().WithDefaultOutput ("json" ),
29
29
}
30
30
cmd := & cobra.Command {
You can’t perform that action at this time.
0 commit comments