From 87888a55ce9622e4e03116c93d8248c76505a74c Mon Sep 17 00:00:00 2001 From: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com> Date: Mon, 26 Feb 2024 19:44:42 +0530 Subject: [PATCH] chore: added description in inbox issue (#3802) --- apiserver/plane/app/views/inbox.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apiserver/plane/app/views/inbox.py b/apiserver/plane/app/views/inbox.py index d70eec4f2..ed32a14fe 100644 --- a/apiserver/plane/app/views/inbox.py +++ b/apiserver/plane/app/views/inbox.py @@ -33,6 +33,7 @@ from plane.app.serializers import ( IssueSerializer, InboxSerializer, InboxIssueSerializer, + IssueDetailSerializer, ) from plane.utils.issue_filters import issue_filters from plane.bgtasks.issue_activites_task import issue_activity @@ -426,11 +427,10 @@ class InboxIssueViewSet(BaseViewSet): ) ) ).first() - if issue is None: return Response({"error": "Requested object was not found"}, status=status.HTTP_404_NOT_FOUND) - serializer = IssueSerializer(issue) + serializer = IssueDetailSerializer(issue) return Response(serializer.data, status=status.HTTP_200_OK) def destroy(self, request, slug, project_id, inbox_id, issue_id):