1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

re-working validation

This commit is contained in:
David Bomba 2016-03-13 23:02:07 +11:00
parent 7c054c5e9b
commit 4bc07aacbf

View File

@ -49,7 +49,7 @@ class RegisterRequest extends Request
Log::info($key);
Log::info($value);
$error['error'] = $value;
$error['error'] = ['message'=>$value];
$error = json_encode($error, JSON_PRETTY_PRINT);
$headers = Utils::getApiHeaders();