Merge branch 'fatihalp' of https://github.com/openclassify/openclassify into fatihalp

This commit is contained in:
vedatakd 2021-03-18 10:11:51 +03:00
commit c948ecbe87

View File

@ -98,7 +98,7 @@ return [
'type' => 'anomaly.field_type.checkboxes',
'config' => [
'options' => function (\Visiosoft\CatsModule\Category\Contract\CategoryRepositoryInterface $categoryRepository) {
return $categoryRepository->mainCats()->pluck('name', 'id')->all();
return $categoryRepository->getMainCategories()->pluck('name', 'id')->all();
},
],
],