FIX - набор данных, отдаваемых по АПИ вместе со списком точек
This commit is contained in:
parent
ea40f242a8
commit
d2e7e4d20e
|
|
@ -75,9 +75,11 @@ class ApiController extends Controller
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'status' => 'success',
|
'status' => 'success',
|
||||||
'data' => $result,
|
'data' => array(
|
||||||
|
'points' => $result,
|
||||||
|
'timestamp' => time(),
|
||||||
|
),
|
||||||
'geo' => App::$userGeo,
|
'geo' => App::$userGeo,
|
||||||
'timestamp' => time(),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue