8000 Add phone number to validation params · skyl/twilio-python@fea90a4 · GitHub
[go: up one dir, main page]

Skip to content

Commit fea90a4

Browse files
committed
Add phone number to validation params
1 parent 6ef25c8 commit fea90a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

twilio/rest/resources.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,7 @@ def validate(self, phone_number, **kwargs):
773773
:param extension: Digits to dial after connecting the validation call.
774774
:returns: A response dictionary
775775
"""
776+
kwargs["phone_number"] = phone_number
776777
params = transform_params(kwargs)
777778
resp, validation = self.request("POST", self.uri, data=params)
778779
return validation

0 commit comments

Comments
 (0)
0