From 0bd3e8ae95759c1e21e7011871e7156f0a978b63 Mon Sep 17 00:00:00 2001 From: pablohashescobar <118773738+pablohashescobar@users.noreply.github.com> Date: Wed, 8 Mar 2023 00:59:48 +0530 Subject: [PATCH] fix: project member filter for bot accounts (#391) --- apiserver/plane/api/views/project.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apiserver/plane/api/views/project.py b/apiserver/plane/api/views/project.py index 4cee2ad1b..0e51dd156 100644 --- a/apiserver/plane/api/views/project.py +++ b/apiserver/plane/api/views/project.py @@ -363,6 +363,7 @@ class ProjectMemberViewSet(BaseViewSet): .get_queryset() .filter(workspace__slug=self.kwargs.get("slug")) .filter(project_id=self.kwargs.get("project_id")) + .filter(member__is_bot=False) .select_related("project") .select_related("member") .select_related("workspace", "workspace__owner")