mirror of
https://github.com/GSA/notifications-api.git
synced 2026-05-05 08:40:29 -04:00
More changes for enums.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
@@ -20,8 +20,12 @@ def get_guest_list_objects(service_id, request_json):
|
||||
return [
|
||||
ServiceGuestList.from_string(service_id, type, recipient)
|
||||
for type, recipient in (
|
||||
get_recipients_from_request(request_json, "phone_numbers", GuestListRecipientType.MOBILE)
|
||||
+ get_recipients_from_request(request_json, "email_addresses", GuestListRecipientType.EMAIL)
|
||||
get_recipients_from_request(
|
||||
request_json, "phone_numbers", GuestListRecipientType.MOBILE
|
||||
)
|
||||
+ get_recipients_from_request(
|
||||
request_json, "email_addresses", GuestListRecipientType.EMAIL
|
||||
)
|
||||
)
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user