fix: project invite

This commit is contained in:
pablohashescobar 2023-08-01 21:42:48 +05:30
parent 6ea15ced02
commit 0866dc3494

View File

@ -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: