mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-14 15:44:14 +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();
|
return otherEntries.Select(e => e.User.CharacterIdentification).Distinct().ToList();
|
||||||
}
|
}
|
||||||
|
|
||||||
[HubMethodName(Api.InvokeAdminGetOnlineUsers)]
|
[HubMethodName(Api.InvokeUserGetOnlineUsers)]
|
||||||
public async Task<int> GetOnlineUsers()
|
public async Task<int> GetOnlineUsers()
|
||||||
{
|
{
|
||||||
return await _dbContext.Users.CountAsync(u => !string.IsNullOrEmpty(u.CharacterIdentification));
|
return await _dbContext.Users.CountAsync(u => !string.IsNullOrEmpty(u.CharacterIdentification));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue