From 3ea7cb08c8f916a42f09caeaa8a05a71fce1915d 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 02:29:26 +0900 Subject: [PATCH] =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/Http/Controllers/Api/FatherRelationsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/Http/Controllers/Api/FatherRelationsController.php b/backend/app/Http/Controllers/Api/FatherRelationsController.php index c3ae5931..0d3acef3 100644 --- a/backend/app/Http/Controllers/Api/FatherRelationsController.php +++ b/backend/app/Http/Controllers/Api/FatherRelationsController.php @@ -47,7 +47,7 @@ class FatherRelationsController extends Controller { } public function updateHireDate (Request $r, $child_id) { - if (!isset($child_id) || !isset($r->father_id) || !isset($r->hire_at)) { + if (!isset($child_id) || !isset($r->father_id)) { return ['status_code' => 400, 'error_messages' => ['子の入社日の更新に失敗しました。']]; }