mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
Allow provider_restriction to be None or "all"
Until all the data is updated to always be "all", we have to handle the case of provider_restriction being set to None or "all" (which mean the same thing). The code can be tidied up once the broadcast provider_restriction is never None.
This commit is contained in:
@@ -623,7 +623,7 @@ class ServiceAPIClient(NotifyAdminAPIClient):
|
||||
"""
|
||||
service_mode is one of "training" or "live"
|
||||
broadcast channel is one of "test" or "severe"
|
||||
provider_restriction is one of None, "three", "o2", "vodafone", "ee"
|
||||
provider_restriction is one of "all", "three", "o2", "vodafone", "ee"
|
||||
"""
|
||||
data = {
|
||||
"service_mode": service_mode,
|
||||
|
||||
Reference in New Issue
Block a user