mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: create estimate point
This commit is contained in:
parent
145968a55b
commit
be03d90c86
@ -189,10 +189,9 @@ class EstimatePointEndpoint(BaseViewSet):
|
|||||||
)
|
)
|
||||||
key = request.data.get("key", 0)
|
key = request.data.get("key", 0)
|
||||||
value = request.data.get("value", "")
|
value = request.data.get("value", "")
|
||||||
estimate_point = EstimatePoint.objects.get(
|
estimate_point = EstimatePoint.objects.create(
|
||||||
estimate_id=estimate_id,
|
estimate_id=estimate_id,
|
||||||
project_id=project_id,
|
project_id=project_id,
|
||||||
workspace__slug=slug,
|
|
||||||
key=key,
|
key=key,
|
||||||
value=value,
|
value=value,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user