mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: project member filter for bot accounts (#391)
This commit is contained in:
parent
cc498096f3
commit
0bd3e8ae95
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user