mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 18:37:33 -04:00
Pass API correct attribute to search inbound SMS
It’s `phone_number` here: https://github.com/alphagov/notifications-api/blob/1250e47cc7c34356f33079a7490c8e548ebd0f3f/app/inbound_sms/rest.py#L33
This commit is contained in:
@@ -297,7 +297,7 @@ class ServiceAPIClient(NotifyAdminAPIClient):
|
||||
'/service/{}/inbound-sms'.format(
|
||||
service_id,
|
||||
),
|
||||
data={'user_number': user_number}
|
||||
data={'phone_number': user_number}
|
||||
)
|
||||
|
||||
def get_most_recent_inbound_sms(self, service_id, page=None):
|
||||
|
||||
Reference in New Issue
Block a user