mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-16 01:44:15 +01:00
fix admin api
This commit is contained in:
parent
1461b01aa4
commit
d150d36bd4
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ namespace MareSynchronosServer.Hubs
|
|||
}
|
||||
|
||||
[Authorize(AuthenticationSchemes = SecretKeyAuthenticationHandler.AuthScheme)]
|
||||
[HubMethodName(Api.InvokeUserGetOnlineUsers)]
|
||||
[HubMethodName(Api.InvokeAdminGetOnlineUsers)]
|
||||
public async Task<List<OnlineUserDto>> AdminGetOnlineUsers()
|
||||
{
|
||||
if (!IsModerator) return null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue