refactoring

This commit is contained in:
denisdulici
2019-12-22 15:58:48 +03:00
parent f9687d9138
commit e82f948353
29 changed files with 154 additions and 288 deletions

View File

@ -41,7 +41,7 @@ class Companies extends ApiController
$this->owner($company);
return $this->response->item($company, new Transformer());
} catch (\HttpException $e) {
} catch (\Exception $e) {
$this->response->errorUnauthorized($e->getMessage());
}
}