<?php

declare(strict_types=1);

namespace App\Services\Uploads;

use App\Repositories\Uploads\AuditLogRepository;

final class UploadAuditService
{
    public function __construct(private readonly AuditLogRepository $repository)
    {
    }

    public function log(?int $userId, string $action, string $ip, array $meta = []): void
    {
        $this->repository->log($userId, $action, $ip, $meta);
    }
}
