remove created at for now
This commit is contained in:
@@ -6,8 +6,5 @@ namespace LightlessSync.API.Data;
|
|||||||
public record GroupData(string GID, string? Alias = null, DateTime? CreatedAt = null)
|
public record GroupData(string GID, string? Alias = null, DateTime? CreatedAt = null)
|
||||||
{
|
{
|
||||||
[IgnoreMember]
|
[IgnoreMember]
|
||||||
public string AliasOrGID => string.IsNullOrWhiteSpace(Alias) ? GID : Alias;
|
public string AliasOrGID => Alias ?? GID;
|
||||||
[IgnoreMember]
|
|
||||||
public DateTime? CreatedAt { get; set; } = CreatedAt;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user