Commit 3f52a80b authored by okhin's avatar okhin 🚴

No token was the right ne

parent 24b82e3f
Pipeline #792 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_KEY,
$data = array('api' => JWT_TOKEN,
'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