From 3bc9ea6fb65b353327318f3703a00f22b353f159 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20R=C3=A9?= Date: Fri, 13 Mar 2026 14:25:52 +0400 Subject: [PATCH] Fix variable override MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Émile Ré --- pkg/trust/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/trust/service.go b/pkg/trust/service.go index 961f47b31..496ac0217 100644 --- a/pkg/trust/service.go +++ b/pkg/trust/service.go @@ -363,7 +363,7 @@ func (s *Service) ProvisionMember( return fmt.Errorf("cannot load identity: %w", err) } - access := &coredata.TrustCenterAccess{} + access = &coredata.TrustCenterAccess{} if err := access.LoadByTrustCenterIDAndIdentityID(ctx, tx, scope, compliancePageID, identityID); err != nil { if !errors.Is(err, coredata.ErrResourceNotFound) { return fmt.Errorf("cannot load trust center access: %w", err)