diff --git a/src/ReC.Application/RecActions/Commands/InvokeRecActionViewCommand.cs b/src/ReC.Application/RecActions/Commands/InvokeRecActionViewCommand.cs index 4928018..6f35335 100644 --- a/src/ReC.Application/RecActions/Commands/InvokeRecActionViewCommand.cs +++ b/src/ReC.Application/RecActions/Commands/InvokeRecActionViewCommand.cs @@ -43,10 +43,7 @@ public class InvokeRecActionViewCommandHandler( .ToHttpRequestMessage(action.EndpointUri); if (action.Body is not null) - { - using var reqBody = new StringContent(action.Body); - httpReq.Content = reqBody; - } + httpReq.Content = new StringContent(action.Body); if (action.Headers is not null) foreach (var header in action.Headers)