Updated routes for auto-complete.

This commit is contained in:
James Cole
2020-07-22 20:17:20 +02:00
parent 6a158a173d
commit 0f840ad082
7 changed files with 126 additions and 5 deletions

View File

@@ -677,12 +677,9 @@ class CategoryController extends Controller
$cache->addProperty('category-report');
$cache->addProperty($accounts->pluck('id')->toArray());
if ($cache->has()) {
return $cache->get(); // @codeCoverageIgnore
// return $cache->get(); // @codeCoverageIgnore
}
/** @var CategoryRepositoryInterface $repository */
$repository = app(CategoryRepositoryInterface::class);
/** @var OperationsRepositoryInterface $opsRepository */
$opsRepository = app(OperationsRepositoryInterface::class);