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,