From 03e3e84066353b7932bc782d7f823350a3874dca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Sat, 21 Feb 2026 00:47:06 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20[card]=20store/update=20=EC=9D=91?= =?UTF-8?q?=EB=8B=B5=EC=97=90=20=EA=B4=80=EA=B3=84(assignedUser)=20?= =?UTF-8?q?=ED=8F=AC=ED=95=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - fresh() → show() 재사용으로 관계 로딩 보장 --- app/Services/CardService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/CardService.php b/app/Services/CardService.php index 9eb1fd85..f518f5bf 100644 --- a/app/Services/CardService.php +++ b/app/Services/CardService.php @@ -113,7 +113,7 @@ public function store(array $data): Card $card->save(); - return $card; + return $this->show($card->id); }); } @@ -182,7 +182,7 @@ public function update(int $id, array $data): Card $card->updated_by = $userId; $card->save(); - return $card->fresh(); + return $this->show($card->id); }); }