fix: [card] store/update 응답에 관계(assignedUser) 포함

- fresh() → show() 재사용으로 관계 로딩 보장
This commit is contained in:
김보곤
2026-02-21 00:47:06 +09:00
parent 83ddfabd7c
commit 03e3e84066

View File

@@ -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);
});
}