From 02cbebdc0eea9f25bc5b536a7ad24e36a5198979 Mon Sep 17 00:00:00 2001 From: AlexP077 Date: Thu, 14 Sep 2023 19:20:11 +0300 Subject: [PATCH] delete_preplacement_fix --- service/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/views.py b/service/views.py index 7dd5995..0a5905e 100644 --- a/service/views.py +++ b/service/views.py @@ -361,9 +361,9 @@ class PrePlacementPointViewSet(PlacementPointViewSet): @action(detail=False, methods=['post']) def start_matching(self, request): file_id = request.POST['id'] - total, matched, problem = 0,0,0#PointService().start_mathing(file_id) + total, matched, problem = PointService().start_mathing(file_id) PointService.make_enrichment() - #raschet('service_preplacementpoint') + raschet('service_preplacementpoint') return Response( {'message': {'total': total, 'matched': matched, 'error': problem, 'unmatched': total - matched - problem}}, status=HTTPStatus.OK,