Files
LightlessAPI/LightlessSyncAPI/Dto/User/UnbanRequest.cs
defnotken a337481243 Unban work (#1)
Co-authored-by: defnotken <itsdefnotken@gmail.com>
Reviewed-on: #1
2025-09-06 00:14:27 +02:00

10 lines
261 B
C#

using MessagePack;
namespace LightlessSync.API.Dto.User;
[MessagePackObject(keyAsPropertyName: true)]
public record UnbanRequest(string? Uid, string? DiscordId)
{
public bool IsValid => !string.IsNullOrEmpty(Uid) || !string.IsNullOrEmpty(DiscordId);
}