From 5b72b1672f55a65803b2937f3a60fcf0c87de14a Mon Sep 17 00:00:00 2001 From: pablohashescobar <118773738+pablohashescobar@users.noreply.github.com> Date: Thu, 6 Apr 2023 22:56:55 +0530 Subject: [PATCH] chore: add workspace and project details on label endpoints (#713) --- apiserver/plane/api/serializers/issue.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apiserver/plane/api/serializers/issue.py b/apiserver/plane/api/serializers/issue.py index 718f16509..e2cc42b80 100644 --- a/apiserver/plane/api/serializers/issue.py +++ b/apiserver/plane/api/serializers/issue.py @@ -310,6 +310,9 @@ class IssuePropertySerializer(BaseSerializer): class LabelSerializer(BaseSerializer): + workspace_detail = WorkspaceLiteSerializer(source="workspace", read_only=True) + project_detail = ProjectLiteSerializer(source="project", read_only=True) + class Meta: model = Label fields = "__all__"