mirror of
https://github.com/makeplane/plane.git
synced 2026-07-12 05:21:14 +02:00
chore: estimate point response change
This commit is contained in:
@@ -38,6 +38,6 @@ urlpatterns = [
|
||||
path(
|
||||
"workspaces/<str:slug>/projects/<uuid:project_id>/estimates/<uuid:estimate_id>/estimate-point/<estimate_point_id>/",
|
||||
DeleteEstimatePoint.as_view({"patch": "partial_update"}),
|
||||
name="bulk-create-estimate-points",
|
||||
name="delete-estimate-points",
|
||||
),
|
||||
]
|
||||
|
||||
@@ -224,4 +224,7 @@ class DeleteEstimatePoint(BaseViewSet):
|
||||
|
||||
old_estimate_point.delete()
|
||||
|
||||
return Response(status=status.HTTP_204_NO_CONTENT)
|
||||
return Response(
|
||||
EstimatePointSerializer(updated_estimate_points, many=True).data,
|
||||
status=status.HTTP_200_OK,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user