mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-20 14:29:25 -04:00
ensure international numbers are handled correctly
the international flag semantically means 'Should we throw an error if an international number is passed in?' (and the answer is no. We should not.)
This commit is contained in:
@@ -24,7 +24,7 @@ def get_inbound_sms_for_service(service_id):
|
||||
|
||||
if user_number:
|
||||
# we use this to normalise to an international phone number
|
||||
user_number = validate_and_format_phone_number(user_number)
|
||||
user_number = validate_and_format_phone_number(user_number, international=True)
|
||||
|
||||
results = dao_get_inbound_sms_for_service(service_id, limit, user_number)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user