From 1ff0970ed6be4d7aa9c8a48897b6f11df33f181f Mon Sep 17 00:00:00 2001 From: pablohashescobar <118773738+pablohashescobar@users.noreply.github.com> Date: Tue, 28 Feb 2023 02:08:34 +0530 Subject: [PATCH] fix: remove bot accounts from list api (#344) --- apiserver/plane/api/views/workspace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apiserver/plane/api/views/workspace.py b/apiserver/plane/api/views/workspace.py index 4b06275aa..872fc25a7 100644 --- a/apiserver/plane/api/views/workspace.py +++ b/apiserver/plane/api/views/workspace.py @@ -414,7 +414,7 @@ class WorkSpaceMemberViewSet(BaseViewSet): return self.filter_queryset( super() .get_queryset() - .filter(workspace__slug=self.kwargs.get("slug")) + .filter(workspace__slug=self.kwargs.get("slug"), is_bot=False) .select_related("workspace", "workspace__owner") .select_related("member") )