using JSMR.Application.Creators.Ports;

namespace JSMR.Application.Creators.Commands.UpdateCreatorStatus;

public class UpdateCreatorStatusHandler(ICreatorWriter writer)
{
    public Task<UpdateCreatorStatusResponse> HandleAsync(UpdateCreatorStatusRequest request, CancellationToken cancellationToken = default)
    {
        return writer.UpdateStatusAsync(request, cancellationToken);
    }
}