Commit 2fec41b6 authored by okhin's avatar okhin 🚴

Fracking php

parent fcf1c225
Pipeline #790 passed with stage
in 0 seconds
......@@ -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_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