1.12.0-server #6

Merged
defnotken merged 16 commits from 1.12.0-server into main 2025-10-04 18:48:17 +00:00
Showing only changes of commit aec2a5023e - Show all commits

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