mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 21:27:22 +01:00
wtf am I doing
This commit is contained in:
parent
d150d36bd4
commit
641ad52313
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ namespace MareSynchronosServer.Hubs
|
|||
return otherEntries.Select(e => e.User.CharacterIdentification).Distinct().ToList();
|
||||
}
|
||||
|
||||
[HubMethodName(Api.InvokeAdminGetOnlineUsers)]
|
||||
[HubMethodName(Api.InvokeUserGetOnlineUsers)]
|
||||
public async Task<int> GetOnlineUsers()
|
||||
{
|
||||
return await _dbContext.Users.CountAsync(u => !string.IsNullOrEmpty(u.CharacterIdentification));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue