From e0bec31586f82746ae971632167ce19b3c5416b3 Mon Sep 17 00:00:00 2001 From: pablohashescobar <118773738+pablohashescobar@users.noreply.github.com> Date: Fri, 5 May 2023 15:11:45 +0530 Subject: [PATCH] feat: workspace detail for imports (#1011) --- apiserver/plane/api/serializers/importer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apiserver/plane/api/serializers/importer.py b/apiserver/plane/api/serializers/importer.py index fcc7da6ce..8997f6392 100644 --- a/apiserver/plane/api/serializers/importer.py +++ b/apiserver/plane/api/serializers/importer.py @@ -2,12 +2,14 @@ from .base import BaseSerializer from .user import UserLiteSerializer from .project import ProjectLiteSerializer +from .workspace import WorkspaceLiteSerializer from plane.db.models import Importer class ImporterSerializer(BaseSerializer): initiated_by_detail = UserLiteSerializer(source="initiated_by", read_only=True) project_detail = ProjectLiteSerializer(source="project", read_only=True) + workspace_detail = WorkspaceLiteSerializer(source="workspace", read_only=True) class Meta: model = Importer