API Group changes #5

Merged
cake merged 8 commits from api-groups-changes into 1.12.0-server 2025-09-25 15:54:27 +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;
}