Commit 24b82e3f authored by okhin's avatar okhin 🚴

The correct parameter is JWT_KEY

parent 2fec41b6
Pipeline #791 passed with stage
in 1 second
......@@ -81,7 +81,7 @@ class Main extends Controller {
// to load the callee and retrieve its number.
$contact = Api::get_contact($args['id']);
$f3->set('contact', $contact);
$data = array('api' => JWT_TOKEN,
$data = array('api' => JWT_KEY,
'caller' => $f3->get('POST.phone'),
'callee' => $contact['phone'],
'token' => $token);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment