Remove update in Lighthouse View

Co-authored-by: Adrián Jesús Peña Rodríguez <adrianjpr@gmail.com>
This commit is contained in:
Chandrapal Badshah
2025-04-22 16:37:50 +05:30
committed by Chandrapal Badshah
parent 6265fc4e21
commit 79063cb1c5
+1 -1
View File
@@ -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