mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 16:57:22 +01:00
adjustments in order of getting data
This commit is contained in:
parent
3a23fe0414
commit
77e1a68387
1 changed files with 2 additions and 2 deletions
|
|
@ -186,12 +186,12 @@ public partial class ApiController : MediatorSubscriberBase, IDisposable, IMareH
|
|||
|
||||
await _mareHub.StartAsync(token).ConfigureAwait(false);
|
||||
|
||||
await InitializeData().ConfigureAwait(false);
|
||||
|
||||
_connectionDto = await GetConnectionDto().ConfigureAwait(false);
|
||||
|
||||
ServerState = ServerState.Connected;
|
||||
|
||||
await InitializeData().ConfigureAwait(false);
|
||||
|
||||
if (_connectionDto.ServerVersion != IMareHub.ApiVersion)
|
||||
{
|
||||
await StopConnection(token, ServerState.VersionMisMatch).ConfigureAwait(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue