2 Commits

Author SHA1 Message Date
d62adbb5b6 Merge pull request 'API Group changes' (#5) from api-groups-changes into 1.12.0-server
Reviewed-on: #5
2025-09-25 17:54:26 +02:00
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;
}