From f4166bed454ef54a3d6b78619b5e96cf59510f5e Mon Sep 17 00:00:00 2001 From: root Date: Thu, 2 Jan 2020 22:03:24 +0800 Subject: [PATCH] update --- app/Http/Controllers/TutorialController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/TutorialController.php b/app/Http/Controllers/TutorialController.php index ec3f9aab..45da2ee4 100644 --- a/app/Http/Controllers/TutorialController.php +++ b/app/Http/Controllers/TutorialController.php @@ -35,7 +35,7 @@ class TutorialController extends Controller } public function fetch (Request $request) { - $tutorial = Tutorial::select(['title', 'description', 'icon'])->get(); + $tutorial = Tutorial::select(['id', 'title', 'description', 'icon'])->get(); $user = User::find($request->session()->get('id')); $response = [ 'data' => [