From d7e03ec2cf211d4d58707be9111da879cbf645de Mon Sep 17 00:00:00 2001 From: Kiryl Matsenka Date: Sat, 11 Nov 2023 20:56:12 +0100 Subject: [PATCH] copy object --- internal/secret/app/command/show.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/secret/app/command/show.go b/internal/secret/app/command/show.go index 0478215..6939546 100644 --- a/internal/secret/app/command/show.go +++ b/internal/secret/app/command/show.go @@ -42,7 +42,7 @@ func (h *ShowHandler) Handle(ctx context.Context, p *ShowPayload) error { return err } - p.Decoded = s + p.Decoded = &s p.Decoded.Body = decrypted return nil