diff --git a/app/Services/Equipment/SwitchService.php b/app/Services/Equipment/SwitchService.php index 62fcc4e..35ccfa3 100644 --- a/app/Services/Equipment/SwitchService.php +++ b/app/Services/Equipment/SwitchService.php @@ -48,6 +48,6 @@ class SwitchService extends EquipmentService if (!$entity) { throw new \Exception("{$code}에 대한 Switch Port정보를 찾을수 없습니다."); } - return $this->getModel()->modify($code, ['status' => $status]); + return $this->getModel()->modify($entity, ['status' => $status]); } }