From ed75163ec4c730c9d7006325684d502852327925 Mon Sep 17 00:00:00 2001 From: Nikhil <118773738+pablohashescobar@users.noreply.github.com> Date: Mon, 31 Jul 2023 10:42:00 +0530 Subject: [PATCH] chore: project preferences (#1669) --- apiserver/plane/api/views/project.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apiserver/plane/api/views/project.py b/apiserver/plane/api/views/project.py index 5af4cd425..d8da4f7dd 100644 --- a/apiserver/plane/api/views/project.py +++ b/apiserver/plane/api/views/project.py @@ -844,11 +844,13 @@ class ProjectUserViewsEndpoint(BaseAPIView): view_props = project_member.view_props default_props = project_member.default_props + preferences = project_member.preferences project_member.view_props = request.data.get("view_props", view_props) project_member.default_props = request.data.get( "default_props", default_props ) + project_member.preferences = request.data.get("preferences", preferences) project_member.save()