Remove logger parameter from InvokeRecActionCommandHandler
The constructor of the `InvokeRecActionCommandHandler` class was updated to remove the optional `ILogger<InvokeRecActionsCommandHandler>? logger` parameter. This change simplifies the constructor by no longer requiring or accepting a logger instance.
This commit is contained in:
@@ -22,8 +22,7 @@ public static class InvokeRecActionCommandExtensions
|
|||||||
public class InvokeRecActionCommandHandler(
|
public class InvokeRecActionCommandHandler(
|
||||||
ISender sender,
|
ISender sender,
|
||||||
IHttpClientFactory clientFactory,
|
IHttpClientFactory clientFactory,
|
||||||
IConfiguration? config = null,
|
IConfiguration? config = null
|
||||||
ILogger<InvokeRecActionsCommandHandler>? logger = null
|
|
||||||
) : IRequestHandler<InvokeRecActionCommand>
|
) : IRequestHandler<InvokeRecActionCommand>
|
||||||
{
|
{
|
||||||
public async Task Handle(InvokeRecActionCommand request, CancellationToken cancel)
|
public async Task Handle(InvokeRecActionCommand request, CancellationToken cancel)
|
||||||
|
|||||||
Reference in New Issue
Block a user