.waifulb will no longer show discriminators, for real this time

This commit is contained in:
Toastie 2024-10-08 14:03:38 +13:00
parent db8885739f
commit 9f97badfc7
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
4 changed files with 23 additions and 21 deletions
src/EllieBot/Services/GrpcApi

View file

@ -134,10 +134,10 @@ public sealed class OtherSvc : GrpcOther.GrpcOtherBase, IEService
var reply = new WaifuLbReply();
reply.Entries.AddRange(waifus.Select(x => new WaifuLbEntry()
{
ClaimedBy = x.Claimer ?? string.Empty,
IsMutual = x.Claimer == x.Affinity,
ClaimedBy = x.ClaimerName ?? string.Empty,
IsMutual = x.ClaimerName == x.Affinity,
Value = x.Price,
User = x.Username,
User = x.WaifuName,
}));
return reply;
}