mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Merge pull request #2885 from alphagov/phone-number
Pass API correct attribute to search inbound SMS
This commit is contained in:
@@ -297,7 +297,7 @@ class ServiceAPIClient(NotifyAdminAPIClient):
|
|||||||
'/service/{}/inbound-sms'.format(
|
'/service/{}/inbound-sms'.format(
|
||||||
service_id,
|
service_id,
|
||||||
),
|
),
|
||||||
data={'user_number': user_number}
|
data={'phone_number': user_number}
|
||||||
)
|
)
|
||||||
|
|
||||||
def get_most_recent_inbound_sms(self, service_id, page=None):
|
def get_most_recent_inbound_sms(self, service_id, page=None):
|
||||||
|
|||||||
Reference in New Issue
Block a user