From 79063cb1c5cdb0ced96b88d8f970118adb3ac904 Mon Sep 17 00:00:00 2001 From: Chandrapal Badshah Date: Tue, 22 Apr 2025 16:37:50 +0530 Subject: [PATCH] Remove update in Lighthouse View MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Adrián Jesús Peña Rodríguez --- api/src/backend/api/v1/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/backend/api/v1/views.py b/api/src/backend/api/v1/views.py index cfa47c4c97..c29c093b9f 100644 --- a/api/src/backend/api/v1/views.py +++ b/api/src/backend/api/v1/views.py @@ -2802,7 +2802,7 @@ class LighthouseConfigViewSet(BaseRLSViewSet): def get_serializer_class(self): if self.action == "create": return LighthouseConfigCreateSerializer - elif self.action in ["update", "partial_update"]: + elif self.action == "partial_update": return LighthouseConfigUpdateSerializer return LighthouseConfigSerializer