mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 15:31:15 -05:00
Return postage from the monthly-usage endpoint
We were already returning the month, notification_type, billing_units and rate from the /monthly-usage billing endpoint. This adds in the postage too so that we can display postage details on the usage page of admin.
This commit is contained in:
@@ -22,6 +22,7 @@ def serialize_ft_billing_remove_emails(data):
|
||||
"notification_type": notification.notification_type,
|
||||
"billing_units": notification.billable_units,
|
||||
"rate": float(notification.rate),
|
||||
"postage": notification.postage,
|
||||
}
|
||||
results.append(json_result)
|
||||
return results
|
||||
|
||||
Reference in New Issue
Block a user