Skip to content

Commit 83253d2

Browse files
committed
Fix2
1 parent bb0fe1c commit 83253d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/db_manager/db_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def update_zone(self, zone_id, update_zone):
327327

328328
with self.get_session() as session:
329329

330-
if update.points is not None:
330+
if update_zone.points is not None:
331331
session.execute(
332332
delete(ParkingZonePoint).where(ParkingZonePoint.parking_zone_id == zone_id)
333333
)

0 commit comments

Comments
 (0)