File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ async def get_participants_counts_day(
171
171
date_start : str = "1970-01-01" , date_end : str = "1970-01-03"
172
172
):
173
173
"""Return participants in ITN."""
174
- report = reports .get_participants_counts_date_range (app , date_start , date_end )
174
+ report = await reports .get_participants_counts_date_range (app , date_start , date_end )
175
175
return report
176
176
177
177
@@ -183,7 +183,7 @@ async def get_participants_counts_day_csv(
183
183
) -> str :
184
184
"""Return participants in ITN."""
185
185
logger .info ("generating participant csv: get db data" )
186
- report = reports .get_participants_counts_date_range (app , date_start , date_end )
186
+ report = await reports .get_participants_counts_date_range (app , date_start , date_end )
187
187
logger .info ("data retrieved for participant csv: creating count csv" )
188
188
csv_report = reports .generate_participant_count_csv (report )
189
189
return csv_report
You can’t perform that action at this time.
0 commit comments