Refactor auth type to enum in RecActionDto and handler

Changed EndpointAuthType from string to enum in RecActionDto. Updated InvokeRecActionCommandHandler to use enum values in switch statements for improved type safety and maintainability.
This commit is contained in:
2025-12-12 14:00:09 +01:00
parent f8c5502905
commit 28f35101f9
2 changed files with 11 additions and 11 deletions

View File

@@ -21,7 +21,7 @@ public record RecActionDto
public long? EndpointAuthId { get; init; }
public string? EndpointAuthType { get; init; }
public EndpointAuthType? EndpointAuthType { get; init; }
public string? EndpointAuthApiKey { get; init; }