mirror of
https://github.com/makeplane/plane.git
synced 2026-07-13 14:01:45 +02:00
[WEB-4607] fix: update parameter usage in IssuePropertyOptionDetailAPIEndpoint #3791
This commit is contained in:
committed by
GitHub
parent
e7e10b0464
commit
3d23ea516a
@@ -207,13 +207,12 @@ class IssuePropertyOptionDetailAPIEndpoint(BaseAPIView):
|
||||
},
|
||||
)
|
||||
def get(self, request, slug, project_id, property_id, option_id):
|
||||
|
||||
# getting issue property by id
|
||||
issue_property = self.model.objects.get(
|
||||
workspace__slug=self.workspace_slug,
|
||||
project_id=self.project_id,
|
||||
property_id=self.property_id,
|
||||
pk=self.option_id,
|
||||
workspace__slug=slug,
|
||||
project_id=project_id,
|
||||
property_id=property_id,
|
||||
pk=option_id,
|
||||
property__issue_type__is_epic=False,
|
||||
)
|
||||
serializer = self.serializer_class(issue_property)
|
||||
|
||||
Reference in New Issue
Block a user