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)