mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 06:21:50 -05:00
Fix the results to be returned in the same format that the admin app expects.
This commit is contained in:
@@ -116,7 +116,9 @@ def get_platform_stats():
|
||||
end_date=end_date,
|
||||
include_from_test_key=include_from_test_key
|
||||
)
|
||||
result = jsonify(data)
|
||||
stats = statistics.format_statistics(data)
|
||||
|
||||
result = jsonify(stats)
|
||||
return result
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user