mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 15:46:07 -05:00
Comma-format number when emailing live services
250,000 is easier to read than 250000.
This commit is contained in:
@@ -132,7 +132,7 @@ def update_service(service_id):
|
||||
template_id=current_app.config['SERVICE_NOW_LIVE_TEMPLATE_ID'],
|
||||
personalisation={
|
||||
'service_name': current_data['name'],
|
||||
'message_limit': current_data['message_limit']
|
||||
'message_limit': '{:,}'.format(current_data['message_limit'])
|
||||
},
|
||||
include_user_fields=['name']
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user