From 7d51340b0b06e00a32cb4f4995789875f93db824 Mon Sep 17 00:00:00 2001 From: CakeAndBanana Date: Mon, 20 Oct 2025 20:45:34 +0200 Subject: [PATCH] Added banner info --- LightlessSyncAPI/Dto/Group/GroupProfileDto.cs | 2 +- LightlessSyncAPI/Dto/User/UserProfileDto.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LightlessSyncAPI/Dto/Group/GroupProfileDto.cs b/LightlessSyncAPI/Dto/Group/GroupProfileDto.cs index 2bf8e54..c993811 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, int[]? Tags, string? PictureBase64, bool? IsNsfw, bool? IsDisabled) : GroupDto(Group); + public record GroupProfileDto(GroupData Group, string? Description, int[]? Tags, string? PictureBase64, string? BannerBase64, bool? IsNsfw, bool? IsDisabled) : GroupDto(Group); } diff --git a/LightlessSyncAPI/Dto/User/UserProfileDto.cs b/LightlessSyncAPI/Dto/User/UserProfileDto.cs index 637d9cd..abe64e8 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, int[]? Tags) : UserDto(User); \ No newline at end of file +public record UserProfileDto(UserData User, bool Disabled, bool? IsNSFW, string? ProfilePictureBase64, string? BannerPictureBase64, string? Description, int[]? Tags) : UserDto(User); \ No newline at end of file -- 2.49.1