Set cbc proxy message_format to cap

The CBC proxy lambda expects the message_format parameter to be one of `cap` or `ibag`.

Signed-off-by: Richard Baker <richard.baker@digital.cabinet-office.gov.uk>
This commit is contained in:
Richard Baker
2020-12-09 17:10:40 +00:00
parent a70b7c521e
commit 4dd37acecb
2 changed files with 4 additions and 4 deletions

View File

@@ -142,7 +142,7 @@ class CBCProxyEE(CBCProxyClientBase):
payload = {
'message_type': 'test',
'identifier': identifier,
'message_format': 'cbc'
'message_format': 'cap'
}
self._invoke_lambda(payload=payload)
@@ -154,7 +154,7 @@ class CBCProxyEE(CBCProxyClientBase):
payload = {
'message_type': 'alert',
'identifier': identifier,
'message_format': 'cbc',
'message_format': 'cap',
'headline': headline,
'description': description,
'areas': areas,