diff --git a/src/EllieBot/Modules/Xp/XpService.cs b/src/EllieBot/Modules/Xp/XpService.cs index 4143fab..97db7f6 100644 --- a/src/EllieBot/Modules/Xp/XpService.cs +++ b/src/EllieBot/Modules/Xp/XpService.cs @@ -587,7 +587,7 @@ public class XpService : IEService, IReadyExecutor, IExecNoCommand .ToArrayAsyncLinqToDB(); } - public async Task> GetGuildUserXps(int page) + public async Task> GetGlobalUserXps(int page) { await using var uow = _db.GetDbContext(); diff --git a/src/EllieBot/Services/GrpcApi/OtherSvc.cs b/src/EllieBot/Services/GrpcApi/OtherSvc.cs index a2b8737..8865c6d 100644 --- a/src/EllieBot/Services/GrpcApi/OtherSvc.cs +++ b/src/EllieBot/Services/GrpcApi/OtherSvc.cs @@ -105,7 +105,7 @@ public sealed class OtherSvc : GrpcOther.GrpcOtherBase, IEService public override async Task 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();