From 01688b27bcbe66a95736a682e643547040e9a1e4 Mon Sep 17 00:00:00 2001 From: CakeAndBanana Date: Sun, 19 Oct 2025 18:40:20 +0200 Subject: [PATCH 1/2] Change tag string to int[] --- LightlessSyncAPI/Dto/Group/GroupProfileDto.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LightlessSyncAPI/Dto/Group/GroupProfileDto.cs b/LightlessSyncAPI/Dto/Group/GroupProfileDto.cs index c2b88ab..2bf8e54 100644 --- a/LightlessSyncAPI/Dto/Group/GroupProfileDto.cs +++ b/LightlessSyncAPI/Dto/Group/GroupProfileDto.cs @@ -2,5 +2,5 @@ namespace LightlessSync.API.Dto.Group { - public record GroupProfileDto(GroupData Group, string? Description, string? Tags, string? PictureBase64, bool? IsNsfw, bool? IsDisabled) : GroupDto(Group); + public record GroupProfileDto(GroupData Group, string? Description, int[]? Tags, string? PictureBase64, bool? IsNsfw, bool? IsDisabled) : GroupDto(Group); } -- 2.49.1 From 9ac91682e630c76d61878a03a364ff558cf04146 Mon Sep 17 00:00:00 2001 From: CakeAndBanana Date: Sun, 19 Oct 2025 20:57:31 +0200 Subject: [PATCH 2/2] Added tags for DTO on user profiles --- LightlessSyncAPI/Dto/User/UserProfileDto.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LightlessSyncAPI/Dto/User/UserProfileDto.cs b/LightlessSyncAPI/Dto/User/UserProfileDto.cs index 8a050c2..637d9cd 100644 --- a/LightlessSyncAPI/Dto/User/UserProfileDto.cs +++ b/LightlessSyncAPI/Dto/User/UserProfileDto.cs @@ -4,4 +4,4 @@ using MessagePack; namespace LightlessSync.API.Dto.User; [MessagePackObject(keyAsPropertyName: true)] -public record UserProfileDto(UserData User, bool Disabled, bool? IsNSFW, string? ProfilePictureBase64, string? Description) : UserDto(User); \ No newline at end of file +public record UserProfileDto(UserData User, bool Disabled, bool? IsNSFW, string? ProfilePictureBase64, string? Description, int[]? Tags) : UserDto(User); \ No newline at end of file -- 2.49.1