Merge pull request #2233 from alphagov/increase-sms-length

Increase SMS maximum length from 459 to 612
This commit is contained in:
Katie Smith
2018-08-17 14:03:29 +01:00
committed by GitHub
6 changed files with 11 additions and 11 deletions

View File

@@ -15,6 +15,7 @@ from flask import (
)
from flask_login import current_user, login_required
from notifications_python_client.errors import HTTPError
from notifications_utils import SMS_CHAR_COUNT_LIMIT
from notifications_utils.columns import Columns
from notifications_utils.recipients import (
RecipientCSV,
@@ -852,7 +853,7 @@ def get_template_error_dict(exception):
return {
'error': error,
'SMS_CHAR_COUNT_LIMIT': current_app.config['SMS_CHAR_COUNT_LIMIT'],
'SMS_CHAR_COUNT_LIMIT': SMS_CHAR_COUNT_LIMIT,
'current_service': current_service,
# used to trigger CSV specific err msg content, so not needed for single notification errors.