Skip to content

Commit

Permalink
0.4 performance update - Fixed missing 'id' keyword arg figures.tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbaldwin committed Dec 10, 2020
1 parent f7bfa4a commit cc7ab5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion figures/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def update_enrollment_data(site_id, **_kwargs):
This can be an expensive task as it iterates over all th
"""
try:
site = Site.objects.get(site_id)
site = Site.objects.get(id=site_id)
results = backfill_enrollment_data_for_site(site)
if results.get('errors'):
for rec in results['errrors']:
Expand Down

0 comments on commit cc7ab5e

Please sign in to comment.