Make EndpointAuthType non-nullable with default NoAuth
Changed EndpointAuthType in RecActionViewDto from nullable to non-nullable and set its default value to EndpointAuthType.NoAuth to ensure it always has a valid value.
This commit is contained in:
@@ -20,7 +20,7 @@ public record RecActionViewDto
|
||||
|
||||
public long? EndpointAuthId { get; init; }
|
||||
|
||||
public EndpointAuthType? EndpointAuthType { get; init; }
|
||||
public EndpointAuthType EndpointAuthType { get; init; } = EndpointAuthType.NoAuth;
|
||||
|
||||
public string? EndpointAuthTypeName { get; init; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user