diff --git a/apiserver/plane/app/urls/estimate.py b/apiserver/plane/app/urls/estimate.py index d5a87c413..88f1cec9f 100644 --- a/apiserver/plane/app/urls/estimate.py +++ b/apiserver/plane/app/urls/estimate.py @@ -38,6 +38,6 @@ urlpatterns = [ path( "workspaces//projects//estimates//estimate-point//", DeleteEstimatePoint.as_view({"patch": "partial_update"}), - name="bulk-create-estimate-points", + name="delete-estimate-points", ), ] diff --git a/apiserver/plane/app/views/estimate/base.py b/apiserver/plane/app/views/estimate/base.py index bfe4e91df..f79aac8c9 100644 --- a/apiserver/plane/app/views/estimate/base.py +++ b/apiserver/plane/app/views/estimate/base.py @@ -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, + )