<?php

namespace App\Http\Controllers\Admin;

use App\Http\Controllers\Controller;
use App\Models\ApiLog;
use Illuminate\View\View;

class ApiLogAdminController extends Controller
{
    public function index(): View
    {
        return view('admin.logs', [
            'logs' => ApiLog::query()->latest('created_at')->paginate(50),
        ]);
    }
}
