diff --git a/app/Http/Controllers/Admin/TutorialController.php b/app/Http/Controllers/Admin/TutorialController.php index bbfaa843..2c9bd0f7 100644 --- a/app/Http/Controllers/Admin/TutorialController.php +++ b/app/Http/Controllers/Admin/TutorialController.php @@ -12,7 +12,7 @@ class TutorialController extends Controller public function fetch(Request $request) { return response([ - 'data' => Tutorial::get()->groupBy('category') + 'data' => Tutorial::get() ]); }