diff --git a/src/ReC.API/Controllers/RecActionController.cs b/src/ReC.API/Controllers/RecActionController.cs index 9f90ce0..402867f 100644 --- a/src/ReC.API/Controllers/RecActionController.cs +++ b/src/ReC.API/Controllers/RecActionController.cs @@ -54,7 +54,8 @@ public class RecActionController(IMediator mediator) : ControllerBase Type = type, BodyQuery = $@"SELECT '{bodyJson ?? "NULL"}' AS REQUEST_BODY;", HeaderQuery = headerJson is not null ? $@"SELECT '{headerJson}' AS REQUEST_HEADER;" : null, - Active = true + Active = true, + EndpointAuthId = 1 }, cancel); return CreatedAtAction(nameof(CreateFakeAction), null); diff --git a/src/ReC.Application/RecActions/Commands/CreateRecActionCommand.cs b/src/ReC.Application/RecActions/Commands/CreateRecActionCommand.cs index 0530c2a..28816be 100644 --- a/src/ReC.Application/RecActions/Commands/CreateRecActionCommand.cs +++ b/src/ReC.Application/RecActions/Commands/CreateRecActionCommand.cs @@ -23,6 +23,8 @@ public record CreateRecActionCommand : IRequest public string BodyQuery { get; init; } = null!; public byte Sequence { get; set; } = 1; + + public long? EndpointAuthId { get; set; } } public class CreateRecActionCommandHandler(ISender sender, IRepository repo) : IRequestHandler