mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-24 13:01:56 +00:00
Remove update in Lighthouse View
Co-authored-by: Adrián Jesús Peña Rodríguez <adrianjpr@gmail.com>
This commit is contained in:
committed by
Chandrapal Badshah
parent
6265fc4e21
commit
79063cb1c5
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user