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.
This commit is contained in:
parent
475acc0a56
commit
4a1b221478
@ -23,11 +23,11 @@ namespace ReC.Client
|
||||
/// POST api/RecAction/invoke/{profileId}
|
||||
/// </summary>
|
||||
/// <param name="profileId"></param>
|
||||
/// <param name="ct"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user