fix: ApiResponse::handle() 호출 패턴 수정 (callable 사용)

This commit is contained in:
2026-01-21 10:29:59 +09:00
parent ca833406a3
commit ebc1794b56
6 changed files with 31 additions and 36 deletions

View File

@@ -20,11 +20,8 @@ public function __construct(
*/
public function summary()
{
$data = $this->statusBoardService->summary();
return ApiResponse::handle(
data: $data,
message: __('message.fetched')
);
return ApiResponse::handle(function () {
return $this->statusBoardService->summary();
}, __('message.fetched'));
}
}