Merge pull request #3110 from alphagov/test-channel

Set the default broadcast channel to test
This commit is contained in:
David McDonald
2021-02-01 10:18:35 +00:00
committed by GitHub
2 changed files with 6 additions and 0 deletions

View File

@@ -210,6 +210,7 @@ class CBCProxyEE(CBCProxyClientBase):
'sent': sent,
'expires': expires,
'language': self.infer_language_from(description),
'channel': 'test',
}
self._invoke_lambda_with_failover(payload=payload)
@@ -270,6 +271,7 @@ class CBCProxyThree(CBCProxyClientBase):
'sent': sent,
'expires': expires,
'language': self.infer_language_from(description),
'channel': 'test',
}
self._invoke_lambda_with_failover(payload=payload)
@@ -329,6 +331,7 @@ class CBCProxyO2(CBCProxyClientBase):
'sent': sent,
'expires': expires,
'language': self.infer_language_from(description),
'channel': 'test',
}
self._invoke_lambda_with_failover(payload=payload)
@@ -391,6 +394,7 @@ class CBCProxyVodafone(CBCProxyClientBase):
'sent': sent,
'expires': expires,
'language': self.infer_language_from(description),
'channel': 'test',
}
self._invoke_lambda_with_failover(payload=payload)