Skip to content

Commit 3cb5b3f

Browse files
committed
checking deletedAt when finding mutually exclusive org members in merging
1 parent 30c1f96 commit 3cb5b3f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/src/database/repositories/organizationRepository.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1788,6 +1788,7 @@ class OrganizationRepository {
17881788
SELECT "memberId"
17891789
FROM "memberOrganizations"
17901790
WHERE "organizationId" = :toOrganizationId
1791+
AND "deletedAt" IS NULL
17911792
);
17921793
`,
17931794
{

0 commit comments

Comments
 (0)