mirror of
https://github.com/makeplane/plane.git
synced 2026-02-24 04:00:14 +01:00
[SILO-820] fix: update serializer for module detail API endpoint to use ModuleUpdateSerializer (#8496)
This commit is contained in:
committed by
GitHub
parent
e92b835869
commit
c8a800104c
@@ -414,7 +414,7 @@ class ModuleDetailAPIEndpoint(BaseAPIView):
|
||||
{"error": "Archived module cannot be edited"},
|
||||
status=status.HTTP_400_BAD_REQUEST,
|
||||
)
|
||||
serializer = ModuleSerializer(module, data=request.data, context={"project_id": project_id}, partial=True)
|
||||
serializer = ModuleUpdateSerializer(module, data=request.data, context={"project_id": project_id}, partial=True)
|
||||
if serializer.is_valid():
|
||||
if (
|
||||
request.data.get("external_id")
|
||||
|
||||
Reference in New Issue
Block a user