From d2e7e4d20e47ee08f4e0d93c1b6f5fb48a531735 Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Mon, 2 May 2016 11:10:29 +0300 Subject: [PATCH] =?UTF-8?q?FIX=20-=20=D0=BD=D0=B0=D0=B1=D0=BE=D1=80=20?= =?UTF-8?q?=D0=B4=D0=B0=D0=BD=D0=BD=D1=8B=D1=85,=20=D0=BE=D1=82=D0=B4?= =?UTF-8?q?=D0=B0=D0=B2=D0=B0=D0=B5=D0=BC=D1=8B=D1=85=20=D0=BF=D0=BE=20?= =?UTF-8?q?=D0=90=D0=9F=D0=98=20=D0=B2=D0=BC=D0=B5=D1=81=D1=82=D0=B5=20?= =?UTF-8?q?=D1=81=D0=BE=20=D1=81=D0=BF=D0=B8=D1=81=D0=BA=D0=BE=D0=BC=20?= =?UTF-8?q?=D1=82=D0=BE=D1=87=D0=B5=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controllers/ApiController.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/controllers/ApiController.php b/controllers/ApiController.php index 94e2db3..9eb4a03 100644 --- a/controllers/ApiController.php +++ b/controllers/ApiController.php @@ -75,9 +75,11 @@ class ApiController extends Controller return array( 'status' => 'success', - 'data' => $result, + 'data' => array( + 'points' => $result, + 'timestamp' => time(), + ), 'geo' => App::$userGeo, - 'timestamp' => time(), ); }