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:
parent
7c054c5e9b
commit
4bc07aacbf
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user