fixes reconnection issue

This commit is contained in:
Stanley Dimant
2022-07-10 15:21:12 +02:00
parent 1eccd791d1
commit a81d3b0d76
2 changed files with 2 additions and 2 deletions

View File

@@ -290,7 +290,7 @@ namespace MareSynchronos.WebAPI
private Task ConnectionHubOnReconnected(string? arg)
{
Logger.Debug("Connection restored");
_connectionDto = _connectionHub!.InvokeAsync<ConnectionDto>(ConnectionHubAPI.InvokeHeartbeat).Result;
_connectionDto = _connectionHub!.InvokeAsync<ConnectionDto>(ConnectionHubAPI.InvokeHeartbeat, _dalamudUtil.PlayerNameHashed).Result;
Connected?.Invoke();
return Task.CompletedTask;
}