Merge pull request #741 from alphagov/fix-v2-post-notification

Small fixes for the V2 post notification endpoints
This commit is contained in:
Rebecca Law
2016-11-22 16:28:13 +00:00
committed by GitHub
4 changed files with 17 additions and 13 deletions

View File

@@ -107,7 +107,7 @@ post_sms_response = {
"title": "response v2/notifications/sms",
"properties": {
"id": uuid,
"reference": {"type": "string"},
"reference": {"type": ["string", "null"]},
"content": sms_content,
"uri": {"type": "string"},
"template": template
@@ -150,7 +150,7 @@ post_email_response = {
"title": "response v2/notifications/email",
"properties": {
"id": uuid,
"reference": {"type": "string"},
"reference": {"type": ["string", "null"]},
"content": email_content,
"uri": {"type": "string"},
"template": template