From ab58a258fda380131c47b5a73809b0b859029e26 Mon Sep 17 00:00:00 2001 From: NarayanBavisetti Date: Fri, 20 Dec 2024 20:30:12 +0530 Subject: [PATCH] chore: changed the payload --- apiserver/plane/api/views/project.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apiserver/plane/api/views/project.py b/apiserver/plane/api/views/project.py index fa645a63cc5..527f43edb54 100644 --- a/apiserver/plane/api/views/project.py +++ b/apiserver/plane/api/views/project.py @@ -258,7 +258,9 @@ def patch(self, request, slug, pk): ProjectSerializer(project).data, cls=DjangoJSONEncoder ) - intake_view = request.data.get("inbox_view", project.intake_view) + intake_view = request.data.get( + "inbox_view", request.data.get("intake_view", project.intake_view) + ) if project.archived_at: return Response(