forked from github/plane
fix: project invite
This commit is contained in:
parent
6ea15ced02
commit
0866dc3494
@ -603,7 +603,7 @@ class AddMemberToProjectEndpoint(BaseAPIView):
|
|||||||
bulk_project_members = []
|
bulk_project_members = []
|
||||||
|
|
||||||
project_members = ProjectMember.objects.filter(
|
project_members = ProjectMember.objects.filter(
|
||||||
workspace=self.workspace, member_id__in=[member.get("member_id") for member in members]
|
workspace__slug=slug, member_id__in=[member.get("member_id") for member in members]
|
||||||
).values("member_id").annotate(sort_order_min=Min("sort_order"))
|
).values("member_id").annotate(sort_order_min=Min("sort_order"))
|
||||||
|
|
||||||
for member in members:
|
for member in members:
|
||||||
|
Loading…
Reference in New Issue
Block a user