fix: team unaccepted members (#10582)
This commit is contained in:
1 parent
0d62311b41
commit
ffa3a454bb
3 files changed
+19
-16
No files matched your search
@@ -101,8 +101,6 @@ export async function getTeamWithMembers(args: {
|
||||
if (userId) where.members = { some: { userId } };
|
||||
if (orgSlug) {
|
||||
where.parent = getSlugOrRequestedSlug(orgSlug);
|
||||
} else {
|
||||
where.parentId = null;
|
||||
}
|
||||
if (id) where.id = id;
|
||||
if (slug) where.slug = slug;
|
||||
|
||||
Reference in new issue
Block a user