mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 23:55:58 -05:00
Merge pull request #3382 from alphagov/2dp
Report processing stats to 2dp rather than 1dp
This commit is contained in:
@@ -78,7 +78,7 @@ def transform_into_notification_by_type_json(total_notifications):
|
||||
def transform_processing_time_results_to_json(processing_time_results):
|
||||
j = []
|
||||
for x in processing_time_results:
|
||||
j.append({"date": x.date, "percentage_under_10_seconds": round(x.percentage, 1)})
|
||||
j.append({"date": x.date, "percentage_under_10_seconds": x.percentage})
|
||||
|
||||
return j
|
||||
|
||||
|
||||
Reference in New Issue
Block a user