mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: project labels response change
This commit is contained in:
parent
78c7a016e3
commit
7e95b8f160
@ -709,6 +709,15 @@ class LabelViewSet(BaseViewSet):
|
||||
.order_by("sort_order")
|
||||
)
|
||||
|
||||
def list(self, request, slug, project_id):
|
||||
labels = Label.objects.filter(
|
||||
workspace__slug=slug,
|
||||
project_id=project_id
|
||||
).values(
|
||||
"parent", "name", "color", "id", "project_id", "workspace__slug"
|
||||
)
|
||||
return Response(labels, status=status.HTTP_200_OK)
|
||||
|
||||
|
||||
class BulkDeleteIssuesEndpoint(BaseAPIView):
|
||||
permission_classes = [
|
||||
|
Loading…
Reference in New Issue
Block a user