Skip to content

Commit

Permalink
Log closed permit id on expiration of permits
Browse files Browse the repository at this point in the history
  • Loading branch information
mhieta committed Feb 2, 2024
1 parent ec7acd1 commit f281700
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions parking_permits/cron.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def automatic_expiration_of_permits():
active_permit = active_permits.first()
active_permit.primary_vehicle = True
active_permit.save()
logger.info(f"Permit {permit.pk} ended")

logger.info("Automatically ending permits completed.")

Expand Down

0 comments on commit f281700

Please sign in to comment.