mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-17 04:59:37 -04:00
Refactor following review
This commit is contained in:
@@ -268,9 +268,7 @@ class Service(JSONModel):
|
||||
|
||||
@property
|
||||
def shouldnt_use_govuk_as_sms_sender(self):
|
||||
return self.organisation_type in {
|
||||
'local', 'nhs', 'nhs_local', 'nhs_central', 'emergency_service', 'school_or_college', 'other'
|
||||
}
|
||||
return self.organisation_type != 'central'
|
||||
|
||||
@cached_property
|
||||
def sms_senders(self):
|
||||
|
||||
Reference in New Issue
Block a user