mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 06:21:50 -05:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user