Merge pull request #54 from pablohashescobar/fix/my_project_member_viewset

fix: my project member viewset
This commit is contained in:
Vihar Kurama 2022-12-20 15:37:07 +05:30 committed by GitHub
commit 522d9e8445
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -632,7 +632,7 @@ class ProjectMemberUserEndpoint(BaseAPIView):
try:
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)