Pass API correct attribute to search inbound SMS

It’s `phone_number` here:
1250e47cc7/app/inbound_sms/rest.py (L33)
This commit is contained in:
Chris Hill-Scott
2019-04-02 09:17:13 +01:00
committed by GitHub
parent 0f9207a161
commit e7abebebf3

View File

@@ -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):