From 4a1b2214784b358dba795c683d736a6185dd1a87 Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Fri, 5 Dec 2025 23:31:17 +0100 Subject: [PATCH] Rename 'ct' to 'cancellationToken' for clarity Updated the parameter name in the `InvokeRecActionAsync` method to `cancellationToken` for better readability and alignment with standard naming conventions. Adjusted the method signature and internal usage to reflect this change. --- src/ReC.Client/ReCClient.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ReC.Client/ReCClient.cs b/src/ReC.Client/ReCClient.cs index d11280f..3482e14 100644 --- a/src/ReC.Client/ReCClient.cs +++ b/src/ReC.Client/ReCClient.cs @@ -23,11 +23,11 @@ namespace ReC.Client /// POST api/RecAction/invoke/{profileId} /// /// - /// + /// /// - public async Task InvokeRecActionAsync(int profileId, CancellationToken ct = default) + public async Task InvokeRecActionAsync(int profileId, CancellationToken cancellationToken = default) { - var resp = await _http.PostAsync($"api/RecAction/invoke/{profileId}", content: null, ct); + var resp = await _http.PostAsync($"api/RecAction/invoke/{profileId}", content: null, cancellationToken); resp.EnsureSuccessStatusCode(); } }