We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 675c295 commit 9bb52dbCopy full SHA for 9bb52db
1 file changed
app/controlplane/pkg/data/membership.go
@@ -264,7 +264,6 @@ func (r *MembershipRepo) Delete(ctx context.Context, id uuid.UUID) error {
264
// If this is an organization membership and the member type is a user,
265
// we also need to clean up any resource memberships for this user in the organization
266
if membershipToDelete.ResourceType == authz.ResourceTypeOrganization && membershipToDelete.MembershipType == authz.MembershipTypeUser {
267
-
268
// Extract the organization id from the membership
269
orgID := membershipToDelete.Edges.Organization.ID
270
0 commit comments