Skip to content

Commit

Permalink
fix list test by using authToken func
Browse files Browse the repository at this point in the history
  • Loading branch information
justin1121 committed Apr 12, 2023
1 parent 4e68d47 commit 10e5c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cape/cmd/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func list(cmd *cobra.Command, args []string) error {

token, _ := cmd.Flags().GetString("token")
if token == "" {
t, err := getAuthToken()
t, err := authToken()
if err != nil {
return err
}
Expand Down

0 comments on commit 10e5c5d

Please sign in to comment.