Skip to content

Commit

Permalink
Updated argument
Browse files Browse the repository at this point in the history
  • Loading branch information
CGoodwin90 committed Oct 26, 2023
1 parent 86a5bb6 commit 6e5c024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var getProjectCmd = &cobra.Command{
Aliases: []string{"p"},
Short: "Get details about a project",
PreRunE: func(_ *cobra.Command, _ []string) error {
return validateTokenE(cmdLagoon)
return validateTokenE(lagoonCLIConfig.Current)
},
RunE: func(cmd *cobra.Command, args []string) error {
debug, err := cmd.Flags().GetBool("debug")
Expand Down

0 comments on commit 6e5c024

Please sign in to comment.