getPack($packId); Http::json(['pack' => $pack]); } catch (Throwable $e) { Http::json(['error' => $e->getMessage()], 404); }