Skip to content

Commit

Permalink
fix bug!
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon committed Jul 19, 2019
1 parent a0cec1d commit e589583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion observation_portal/observations/tasks.py
Expand Up @@ -11,4 +11,4 @@
def delete_old_observations():
cutoff = datetime.utcnow() - timedelta(days=14)
logger.info(f'Deleting CANCELED observations before cutoff date {cutoff}')
Observation.delete_old_observations()
Observation.delete_old_observations(cutoff)

0 comments on commit e589583

Please sign in to comment.