From 7c19c6b5b66f251d844bc99f9feebc16597af37c Mon Sep 17 00:00:00 2001 From: "choi.jh" Date: Thu, 26 Jun 2025 14:07:33 +0900 Subject: [PATCH] dbms_init...1 --- app/Services/Equipment/SwitchService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); } }