From 211a24decdd3b5c7f277369b8048d40bf3e8bc7a Mon Sep 17 00:00:00 2001 From: Jens Feodor Nielsen Date: Wed, 11 Dec 2024 14:14:32 +0100 Subject: [PATCH] fix(cli): `app list` properly use configured organization --- cmd/app/list/cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/app/list/cmd.go b/cmd/app/list/cmd.go index 437539f..79860d2 100644 --- a/cmd/app/list/cmd.go +++ b/cmd/app/list/cmd.go @@ -36,7 +36,7 @@ func run(cmd *cobra.Command) error { } service := app.New(gql.NewClient(), nil, http.DefaultClient) - err := list(cmd.Context(), service, AppListInput{OrganizationSlug: cmdArgs.organizationSlug}) + err := list(cmd.Context(), service, AppListInput{OrganizationSlug: orgSlug}) return errorhandling.ErrorAlreadyPrinted(err) }