diff --git a/src/ReC.API/Controllers/RecActionController.cs b/src/ReC.API/Controllers/RecActionController.cs index 2d7895e..177a4ce 100644 --- a/src/ReC.API/Controllers/RecActionController.cs +++ b/src/ReC.API/Controllers/RecActionController.cs @@ -57,12 +57,14 @@ public class RecActionController(IMediator mediator, IConfiguration config) : Co /// Gets all RecActions for a fake/test profile. /// /// A token to cancel the operation. + /// /// A list of RecActions for the fake profile. [HttpGet("fake")] [ProducesResponseType(StatusCodes.Status200OK)] - public async Task Get(CancellationToken cancel) => Ok(await mediator.Send(new ReadRecActionQuery() + public async Task Get(CancellationToken cancel, bool invoked = false) => Ok(await mediator.Send(new ReadRecActionQuery() { - ProfileId = config.GetFakeProfileId() + ProfileId = config.GetFakeProfileId(), + Invoked = invoked }, cancel)); ///