Remove InvokeRecActionFakeAsync method

Removed the `InvokeRecActionFakeAsync` method, which was used to invoke a fake RecAction via the `api/RecAction/invoke/fake` endpoint. This method is no longer needed or relevant.

The `InvokeRecActionAsync` method remains in place to handle RecActions for specific profile IDs via the `api/RecAction/invoke/{profileId}` endpoint.
This commit is contained in:
Developer 02 2025-12-05 23:29:43 +01:00
parent f8dd16454f
commit 475acc0a56

View File

@ -30,16 +30,5 @@ namespace ReC.Client
var resp = await _http.PostAsync($"api/RecAction/invoke/{profileId}", content: null, ct); var resp = await _http.PostAsync($"api/RecAction/invoke/{profileId}", content: null, ct);
resp.EnsureSuccessStatusCode(); resp.EnsureSuccessStatusCode();
} }
/// <summary>
/// POST api/RecAction/invoke/fake
/// </summary>
/// <param name="ct"></param>
/// <returns></returns>
public async Task InvokeRecActionFakeAsync(CancellationToken ct = default)
{
var resp = await _http.PostAsync($"api/RecAction/invoke/fake", content: null, ct);
resp.EnsureSuccessStatusCode();
}
} }
} }