Replace multiple catch blocks with single catch(Throwable) funneled through errorResponse() matching the CompanyController pattern. Also clean jsonResponse to accept data+status only, instantiating Response internally. |
||
|---|---|---|
| .. | ||
| AuthController.php | ||
Replace multiple catch blocks with single catch(Throwable) funneled through errorResponse() matching the CompanyController pattern. Also clean jsonResponse to accept data+status only, instantiating Response internally. |
||
|---|---|---|
| .. | ||
| AuthController.php | ||