This commit is contained in:
root 2020-01-02 22:03:24 +08:00
parent 8f8be2ea33
commit f4166bed45

View File

@ -35,7 +35,7 @@ class TutorialController extends Controller
} }
public function fetch (Request $request) { 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')); $user = User::find($request->session()->get('id'));
$response = [ $response = [
'data' => [ 'data' => [