FIX api-error

This commit is contained in:
Krivchikov Dmitry 2016-04-24 01:20:04 +03:00
parent 3bf414a7ac
commit 989fc94476
1 changed files with 1 additions and 1 deletions

View File

@ -146,6 +146,6 @@ class ApiController extends Controller
$answer['message'] = $message;
}
self::renderPartial('json.php', $answer);
self::renderPartial('json.php', array('data' => $answer));
}
}