Fix Method Name In LoginAsync
And LogoutAsync
This commit is contained in:
parent
8bbb4954c8
commit
e561b84334
@ -174,7 +174,7 @@ namespace qtc_api.Hubs
|
||||
ServerConfig serverConfig = JsonDocument.Parse(File.ReadAllText("./ServerConfig.json")).Deserialize<ServerConfig>();
|
||||
|
||||
await Clients.Client(Context.ConnectionId).SendAsync("ReceiveServerConfig", serverConfig);
|
||||
await Clients.All.SendAsync("RefreshUserList");
|
||||
await Clients.All.SendAsync("RefreshUserLists");
|
||||
|
||||
Log($"User {user.Username} Has Logged In");
|
||||
}
|
||||
@ -184,7 +184,7 @@ namespace qtc_api.Hubs
|
||||
var statusDto = new UserStatusDto { Id = user.Id, Status = 0 };
|
||||
|
||||
await _userService.UpdateStatus(statusDto);
|
||||
await Clients.All.SendAsync("RefreshUserList");
|
||||
await Clients.All.SendAsync("RefreshUserLists");
|
||||
|
||||
Log($"User {user.Username} Has Logged Out");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user