Fix User List Not Refreshing On Status Change
This commit is contained in:
parent
5ff5d63882
commit
446b252771
@ -114,7 +114,10 @@ namespace qtc_api.Hubs
|
||||
var res = await _userService.UpdateStatus(statusDto);
|
||||
|
||||
if (res != null && res.Success && res.Data != null)
|
||||
{
|
||||
await Clients.All.SendAsync("RefreshUserLists");
|
||||
Log($"Status Was Set To {res.Data.Status} On User {user.Username}");
|
||||
}
|
||||
else
|
||||
Log($"Something Went Wrong Setting The Status On User {user.Username}");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user