re-working validation
This commit is contained in:
parent
b244f8034b
commit
7c054c5e9b
1 changed files with 5 additions and 0 deletions
|
|
@ -44,6 +44,11 @@ class RegisterRequest extends Request
|
|||
|
||||
foreach($errors as $err) {
|
||||
foreach ($err as $key => $value) {
|
||||
|
||||
Log::info($err);
|
||||
Log::info($key);
|
||||
Log::info($value);
|
||||
|
||||
$error['error'] = $value;
|
||||
$error = json_encode($error, JSON_PRETTY_PRINT);
|
||||
$headers = Utils::getApiHeaders();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue