From 402e8d0005aa7d7212ab3a0960d075d469bece2d Mon Sep 17 00:00:00 2001 From: Calvin <70191007+ckluy31@users.noreply.github.com> Date: Tue, 3 Sep 2024 11:07:34 +1000 Subject: [PATCH] Fix success message when access request is closed (#743) --- pkg/granted/request/close.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/granted/request/close.go b/pkg/granted/request/close.go index ef302dc6..2717ad53 100644 --- a/pkg/granted/request/close.go +++ b/pkg/granted/request/close.go @@ -201,7 +201,7 @@ var closeCommand = cli.Command{ haserrors := printdiags.Print(closeRes.Msg.Diagnostics, nil) if !haserrors { - clio.Successf("access request %s is now closed", accessRequestID) + clio.Successf("access request %s is now closed", selectedAccessRequest) } return nil