Skip to content

Commit d7fd922

Browse files
fix(cmd): profile list using APIKey instead of adminAPIKey (#147)
1 parent d2e4724 commit d7fd922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pkg/cmd/profile/list/list.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func runListCmd(opts *AddOptions) error {
6868

6969
opts.IO.StartProgressIndicatorWithLabel("Fetching configured profiles")
7070
for _, profile := range profiles {
71-
client := search.NewClient(profile.ApplicationID, profile.AdminAPIKey)
71+
client := search.NewClient(profile.ApplicationID, profile.APIKey)
7272
res, err := client.ListIndices()
7373
if err != nil {
7474
return err

0 commit comments

Comments
 (0)