mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: remove bot accounts from list api (#344)
This commit is contained in:
parent
90b8d66946
commit
1ff0970ed6
@ -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")
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user