From 3b4858f5b1afb376f68a58638e7e6234be3d981f Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 1 Dec 2025 10:35:02 +0100 Subject: [PATCH] Refactor variable names for clarity in response handling Renamed variables `body` to `resBody` and `headers` to `resHeaders` to improve clarity and better reflect their association with the response object. These changes enhance code readability and maintainability without altering functionality. --- .../RecActions/Commands/InvokeRecActionCommand.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ReC.Application/RecActions/Commands/InvokeRecActionCommand.cs b/src/ReC.Application/RecActions/Commands/InvokeRecActionCommand.cs index 9a48172..60ee956 100644 --- a/src/ReC.Application/RecActions/Commands/InvokeRecActionCommand.cs +++ b/src/ReC.Application/RecActions/Commands/InvokeRecActionCommand.cs @@ -51,7 +51,7 @@ public class InvokeRecActionCommandHandler( httpReq.Headers.Add(header.Key, header.Value); using var response = await http.SendAsync(httpReq, cancel); - var body = await response.Content.ReadAsStringAsync(cancel); - var headers = response.Headers.ToDictionary(); + var resBody = await response.Content.ReadAsStringAsync(cancel); + var resHeaders = response.Headers.ToDictionary(); } } \ No newline at end of file