remove created at for now

This commit is contained in:
defnotken
2025-09-25 10:25:12 -05:00
parent 69055b0f32
commit aec2a5023e

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;
}