mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: estimate point response change
This commit is contained in:
parent
ca9529cfa6
commit
8fa2e9b60b
@ -38,6 +38,6 @@ urlpatterns = [
|
|||||||
path(
|
path(
|
||||||
"workspaces/<str:slug>/projects/<uuid:project_id>/estimates/<uuid:estimate_id>/estimate-point/<estimate_point_id>/",
|
"workspaces/<str:slug>/projects/<uuid:project_id>/estimates/<uuid:estimate_id>/estimate-point/<estimate_point_id>/",
|
||||||
DeleteEstimatePoint.as_view({"patch": "partial_update"}),
|
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()
|
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,
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user