1 Commits

Author SHA1 Message Date
defnotken
aec2a5023e remove created at for now 2025-09-25 10:25:12 -05:00

View File

@@ -6,8 +6,5 @@ namespace LightlessSync.API.Data;
public record GroupData(string GID, string? Alias = null, DateTime? CreatedAt = null)
{
[IgnoreMember]
public string AliasOrGID => string.IsNullOrWhiteSpace(Alias) ? GID : Alias;
[IgnoreMember]
public DateTime? CreatedAt { get; set; } = CreatedAt;
public string AliasOrGID => Alias ?? GID;
}