<?php

namespace App\Modules\Admin\IntegrationsHealth\Controllers;

use App\Http\Controllers\Controller;
use App\Modules\Admin\IntegrationsHealth\Services\IntegrationsHealthService;
use Illuminate\View\View;

class IntegrationsHealthPageController extends Controller
{
    public function __construct(
        private readonly IntegrationsHealthService $health,
    ) {}

    public function index(): View
    {
        return view('pages.admin.integrations_health.index', $this->health->snapshot());
    }
}
