fix: .waifulb will no longer show #0000 discriminators, for real this time

This commit is contained in:
Kwoth
2024-10-07 12:56:28 +00:00
parent cd8c14c607
commit ca8e022db6
4 changed files with 23 additions and 21 deletions

View File

@@ -134,10 +134,10 @@ public sealed class OtherSvc : GrpcOther.GrpcOtherBase, INService
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;
}