Skip to content

Commit eaabb8a

Browse files
Mark Lewinmheap
authored andcommitted
Change verify NEXMO_TO_NUMBER to RECIPIENT_NUMBER
1 parent 0e459ee commit eaabb8a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.env-example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ APPLICATION_ID=
44
PRIVATE_KEY=
55
FROM=
66
NEXMO_TO_NUMBER=
7+
RECIPIENT_NUMBER
78
TO_NUMBER=
89
NEXMO_SECRET_ID=
910
INSIGHT_NUMBER=

verify/request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
$basic = new \Nexmo\Client\Credentials\Basic(NEXMO_API_KEY, NEXMO_API_SECRET);
66
$client = new \Nexmo\Client(new \Nexmo\Client\Credentials\Container($basic));
77

8-
$verification = new \Nexmo\Verify\Verification(NEXMO_TO_NUMBER, 'Acme Inc');
8+
$verification = new \Nexmo\Verify\Verification(RECIPIENT_NUMBER, 'Acme Inc');
99
$client->verify()->start($verification);
1010

1111
echo "Started verification, `request_id` is " . $verification->getRequestId();

0 commit comments

Comments
 (0)