Send json as camelCase

HFP-794
pull/36/head
thomasmars 2017-03-02 14:39:36 +01:00
parent c0e82edfb4
commit 0af411bac8
1 changed files with 1 additions and 1 deletions

View File

@ -2704,7 +2704,7 @@ class H5PCore {
} }
if ($error_code !== NULL) { if ($error_code !== NULL) {
$response['error_code'] = $error_code; $response['errorCode'] = $error_code;
} }
self::printJson($response); self::printJson($response);