Skip to content

Commit 9cbb87e

Browse files
committed
change code to constant
1 parent f255108 commit 9cbb87e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

verify2/send_code.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@
77
new Vonage\Client\Credentials\Keypair(VONAGE_APPLICATION_PRIVATE_KEY_PATH, VONAGE_APPLICATION_ID),
88
);
99

10-
$code = '1234';
11-
1210
try {
13-
$client->verify2()->check($code);
11+
$client->verify2()->check(CODE);
1412
} catch (\Exception $e) {
1513
var_dump($e->getMessage());
1614
}

0 commit comments

Comments
 (0)