Remove info logging from API
This commit is contained in:
parent
a33b7c95cc
commit
1adca42d8b
@ -13,7 +13,6 @@ class AutoActions extends BaseController {
|
||||
$autoActions = $this->getAll($request);
|
||||
|
||||
if (!count($autoActions)) {
|
||||
$this->logger->addInfo('No automatic actions in database.');
|
||||
$this->apiJson->addAlert('info',
|
||||
'No automatic actions in database.');
|
||||
$this->apiJson->addData([]);
|
||||
|
@ -13,7 +13,6 @@ class Boards extends BaseController {
|
||||
$boards = $this->loadAllBoards($request);
|
||||
|
||||
if (!count($boards)) {
|
||||
$this->logger->addInfo('No boards in database.');
|
||||
$this->apiJson->addAlert('info', 'No boards in database.');
|
||||
|
||||
return $this->jsonResponse($response);
|
||||
|
@ -15,8 +15,6 @@ class Invalid extends BaseController {
|
||||
|
||||
$this->apiJson->addData($apiReturn);
|
||||
|
||||
$this->logger->addInfo('Invalid Endpoint: ', [$this->apiJson]);
|
||||
|
||||
return $this->jsonResponse($response);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user