mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 02:42:26 -05:00
Specify username with fail/success
This commit is contained in:
@@ -524,10 +524,10 @@ def _check_messages(service_id, template_id, upload_id, preview_row):
|
||||
for user in Users(service_id):
|
||||
allow_list.extend([user.name, user.mobile_number, user.email_address])
|
||||
# Failed sms number
|
||||
allow_list.extend(["simulated user", "+14254147167", "simulated@simulated.gov"])
|
||||
allow_list.extend(["simulated user (fail)", "+14254147167", "simulated@simulated.gov"])
|
||||
# Success sms number
|
||||
allow_list.extend(
|
||||
["simulated user two", "+14254147755", "simulatedtwo@simulated.gov"]
|
||||
["simulated user (success)", "+14254147755", "simulatedtwo@simulated.gov"]
|
||||
)
|
||||
else:
|
||||
allow_list = None
|
||||
|
||||
Reference in New Issue
Block a user