From be03d90c8671f6ec95f0c0cd1d09b5865a33e1d6 Mon Sep 17 00:00:00 2001 From: NarayanBavisetti Date: Mon, 27 May 2024 15:22:27 +0530 Subject: [PATCH] chore: create estimate point --- apiserver/plane/app/views/estimate/base.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apiserver/plane/app/views/estimate/base.py b/apiserver/plane/app/views/estimate/base.py index 1fc72d8d1..77557e2b4 100644 --- a/apiserver/plane/app/views/estimate/base.py +++ b/apiserver/plane/app/views/estimate/base.py @@ -189,10 +189,9 @@ class EstimatePointEndpoint(BaseViewSet): ) key = request.data.get("key", 0) value = request.data.get("value", "") - estimate_point = EstimatePoint.objects.get( + estimate_point = EstimatePoint.objects.create( estimate_id=estimate_id, project_id=project_id, - workspace__slug=slug, key=key, value=value, )