Fix the wording on the message a little bit.

This commit is contained in:
Rebecca Law
2016-09-23 16:03:11 +01:00
parent 09e6e6198b
commit 0ef43ab1dc
2 changed files with 3 additions and 3 deletions

View File

@@ -220,8 +220,8 @@ def send_notification(notification_type):
)
if notification_type != template.template_type:
raise InvalidRequest("{0} template is not suitable for a {1} notification".format(template.template_type,
notification_type),
raise InvalidRequest("{0} template is not suitable for {1} notification".format(template.template_type,
notification_type),
status_code=400)
errors = unarchived_template_schema.validate({'archived': template.archived})