grpc api fix

Fixed a glitch I added in the last commit
This commit is contained in:
Toastie (DCS Team) 2024-10-08 00:25:26 +13:00
parent 21267db587
commit 7caf1ebd90
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
2 changed files with 2 additions and 2 deletions

View file

@ -587,7 +587,7 @@ public class XpService : IEService, IReadyExecutor, IExecNoCommand
.ToArrayAsyncLinqToDB();
}
public async Task<IReadOnlyCollection<DiscordUser>> GetGuildUserXps(int page)
public async Task<IReadOnlyCollection<DiscordUser>> GetGlobalUserXps(int page)
{
await using var uow = _db.GetDbContext();

View file

@ -105,7 +105,7 @@ public sealed class OtherSvc : GrpcOther.GrpcOtherBase, IEService
public override async Task<XpLbReply> GetXpLb(GetLbRequest request, ServerCallContext context)
{
var users = await _xp.GetGuildUserXps(request.Page, request.PerPage);
var users = await _xp.GetGlobalUserXps(request.Page);
var reply = new XpLbReply();