mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-22 15:29:17 +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)]
|
[Authorize(AuthenticationSchemes = SecretKeyAuthenticationHandler.AuthScheme)]
|
||||||
[HubMethodName(Api.InvokeUserGetOnlineUsers)]
|
[HubMethodName(Api.InvokeAdminGetOnlineUsers)]
|
||||||
public async Task<List<OnlineUserDto>> AdminGetOnlineUsers()
|
public async Task<List<OnlineUserDto>> AdminGetOnlineUsers()
|
||||||
{
|
{
|
||||||
if (!IsModerator) return null;
|
if (!IsModerator) return null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue