mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: my project member viewset
This commit is contained in:
parent
27071d5323
commit
aef6c783a3
@ -632,7 +632,7 @@ class ProjectMemberUserEndpoint(BaseAPIView):
|
|||||||
try:
|
try:
|
||||||
|
|
||||||
project_member = ProjectMember.objects.get(
|
project_member = ProjectMember.objects.get(
|
||||||
project=project_id, workpsace__slug=slug, member=request.user
|
project_id=project_id, workspace__slug=slug, member=request.user
|
||||||
)
|
)
|
||||||
serializer = ProjectMemberSerializer(project_member)
|
serializer = ProjectMemberSerializer(project_member)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user