From 2704370049f906488ad73e0dbb1e76ab6dce2f5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=86=E3=82=AF=E3=83=8B=E3=82=AB=E3=83=AB=E8=AB=8F?= =?UTF-8?q?=E8=A8=AA=E5=AD=90?= Date: Wed, 17 Nov 2021 16:58:01 +0900 Subject: [PATCH] =?UTF-8?q?id=E3=81=A8=E7=94=BB=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/Http/Controllers/Api/ChildrenController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/Http/Controllers/Api/ChildrenController.php b/backend/app/Http/Controllers/Api/ChildrenController.php index 335f3234..3fe67915 100644 --- a/backend/app/Http/Controllers/Api/ChildrenController.php +++ b/backend/app/Http/Controllers/Api/ChildrenController.php @@ -240,7 +240,7 @@ KIKI承知システムを使って「聞いてない!」「言ってない! } public function list () { - $child_select = ['first_name', 'last_name', 'tel']; + $child_select = ['id', 'first_name', 'last_name', 'tel', 'image']; if (null === ($result = Child::select($child_select)->orderBy('created_at', 'desc')->get())) { // 親一覧の取得に失敗