mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-05 02:41:14 -05:00
ensure the user_number in inbound sms is international
rather than using the `normalise_phone_number` function, use the `validate_and_format_phone_number` function - this will also convert all numbers to international format, which means we won't need to worry about whether the user enters internaional or UK phone numbers when searching
This commit is contained in:
@@ -190,7 +190,7 @@ def create_service_permission(service_id, permission=EMAIL_TYPE):
|
||||
def create_inbound_sms(
|
||||
service,
|
||||
notify_number=None,
|
||||
user_number='7700900111',
|
||||
user_number='447700900111',
|
||||
provider_date=None,
|
||||
provider_reference=None,
|
||||
content='Hello'
|
||||
|
||||
Reference in New Issue
Block a user