diff --git a/service/service.py b/service/service.py index 83a9cd0..5f6fa74 100644 --- a/service/service.py +++ b/service/service.py @@ -94,14 +94,14 @@ class PointService: name=f'Подъезд {_num + 1}', matching_status=MatchingStatus.New.name, sample_trn=False, - is_vis=True, geometry=wkt, + is_vis=True,category=cat, geometry=wkt, status=PointStatus.Pending.name, area=rayon, district=rayon.AO) else: models.PrePlacementPoint.objects.get_or_create(**house, address=addr, matching_status=MatchingStatus.New.name, sample_trn=False, - is_vis=True, geometry=wkt, + is_vis=True,category=cat, geometry=wkt, status=PointStatus.Pending.name, area=rayon, district=rayon.AO) else: