From 43be25cc45eff1966d82ff254110ade2cbd07278 Mon Sep 17 00:00:00 2001 From: CakeAndBanana Date: Wed, 17 Sep 2025 02:38:21 +0200 Subject: [PATCH] Added get of group profile, removed group from model. redone group data. --- LightlessSyncAPI/Data/GroupData.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/LightlessSyncAPI/Data/GroupData.cs b/LightlessSyncAPI/Data/GroupData.cs index 1aa92b3..5e26435 100644 --- a/LightlessSyncAPI/Data/GroupData.cs +++ b/LightlessSyncAPI/Data/GroupData.cs @@ -3,17 +3,11 @@ namespace LightlessSync.API.Data; [MessagePackObject(keyAsPropertyName: true)] -public record GroupData(string GID, string? Alias = null, DateTime? CreatedAt = null, string? Description = null, string? Tags = null, string? Avatar = null) +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; - [IgnoreMember] - public string? Description { get; set; } = Description; - [IgnoreMember] - public string? Tags { get; set; } = Tags; - [IgnoreMember] - public string? Avatar { get; set; } = Avatar; } \ No newline at end of file